Hex color #3c2140, RGB(60, 33, 64) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3c2140 is a shade of magenta. In a RGB color space it is composed of 23.53% red, 12.94% green and 25.1% blue. In HSL notation it has 292.3° hue, 32% saturation and 19% lightness. The process color (CMYK) is combination of 6.25% cyan, 48.44% magenta, 0% yellow and 74.90% key (black). The closest short hexadecimal code of #3c2140 is #324.
Example CSS code:
.setFontColor { color: #3c2140; }
.setBackgroundColor { background-color: #3c2140; }
How to set font color?
<p style="color:#3c2140">Font color is #3c2140.</p>
Font color is #3c2140.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#3c2140">Background color is #3c2140.</div>
Background color is #3c2140.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage