Hex color #6316a7, RGB(99, 22, 167) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6316a7 is a shade of blue-magenta. In a RGB color space it is composed of 38.82% red, 8.63% green and 65.49% blue. In HSL notation it has 271.9° hue, 76.7% saturation and 37.1% lightness. The process color (CMYK) is combination of 40.72% cyan, 86.83% magenta, 0% yellow and 34.51% key (black). The closest short hexadecimal code of #6316a7 is #61a.
Example CSS code:
.setFontColor { color: #6316a7; }
.setBackgroundColor { background-color: #6316a7; }
How to set font color?
<p style="color:#6316a7">Font color is #6316a7.</p>
Font color is #6316a7.
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:#6316a7">Background color is #6316a7.</div>
Background color is #6316a7.
Compromise in colors is grey.
- Edi Rama