Hex color #6a5acd, RGB(106, 90, 205) - also known as slate blue - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6a5acd is a shade of blue. In a RGB color space it is composed of 41.57% red, 35.29% green and 80.39% blue. In HSL notation it has 248.3° hue, 53.5% saturation and 57.8% lightness. The process color (CMYK) is combination of 48.29% cyan, 56.10% magenta, 0% yellow and 19.61% key (black). The closest short hexadecimal code of #6a5acd is #65c.
Example CSS code:
.setFontColor { color: #6a5acd; }
.setBackgroundColor { background-color: #6a5acd; }
How to set font color?
<p style="color:#6a5acd">Font color is #6a5acd.</p>
Font color is #6a5acd.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#6a5acd">Background color is #6a5acd.</div>
Background color is #6a5acd.
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