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