Hex color #795af5, RGB(121, 90, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #795af5 is a shade of blue. In a RGB color space it is composed of 47.45% red, 35.29% green and 96.08% blue. In HSL notation it has 252° hue, 88.6% saturation and 65.7% lightness. The process color (CMYK) is combination of 50.61% cyan, 63.27% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #795af5 is #75f.
Example CSS code:
.setFontColor { color: #795af5; }
.setBackgroundColor { background-color: #795af5; }
How to set font color?
<p style="color:#795af5">Font color is #795af5.</p>
Font color is #795af5.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#795af5">Background color is #795af5.</div>
Background color is #795af5.
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