Hex color #a123ff, RGB(161, 35, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a123ff is a shade of blue-magenta. In a RGB color space it is composed of 63.14% red, 13.73% green and 100% blue. In HSL notation it has 274.4° hue, 100% saturation and 56.9% lightness. The process color (CMYK) is combination of 36.86% cyan, 86.27% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #a123ff is #a2f.
Example CSS code:
.setFontColor { color: #a123ff; }
.setBackgroundColor { background-color: #a123ff; }
How to set font color?
<p style="color:#a123ff">Font color is #a123ff.</p>
Font color is #a123ff.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#a123ff">Background color is #a123ff.</div>
Background color is #a123ff.
Compromise in colors is grey.
- Edi Rama