Hex color #8f8fd1, RGB(143, 143, 209) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8f8fd1 is a shade of blue. In a RGB color space it is composed of 56.08% red, 56.08% green and 81.96% blue. In HSL notation it has 240° hue, 41.8% saturation and 69% lightness. The process color (CMYK) is combination of 31.58% cyan, 31.58% magenta, 0% yellow and 18.04% key (black). The closest short hexadecimal code of #8f8fd1 is #88d.
Example CSS code:
.setFontColor { color: #8f8fd1; }
.setBackgroundColor { background-color: #8f8fd1; }
How to set font color?
<p style="color:#8f8fd1">Font color is #8f8fd1.</p>
Font color is #8f8fd1.
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:#8f8fd1">Background color is #8f8fd1.</div>
Background color is #8f8fd1.
Compromise in colors is grey.
- Edi Rama