Hex color #2d3057, RGB(45, 48, 87) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2d3057 is a shade of blue. In a RGB color space it is composed of 17.65% red, 18.82% green and 34.12% blue. In HSL notation it has 235.7° hue, 31.8% saturation and 25.9% lightness. The process color (CMYK) is combination of 48.28% cyan, 44.83% magenta, 0% yellow and 65.88% key (black). The closest short hexadecimal code of #2d3057 is #235.
Example CSS code:
.setFontColor { color: #2d3057; }
.setBackgroundColor { background-color: #2d3057; }
How to set font color?
<p style="color:#2d3057">Font color is #2d3057.</p>
Font color is #2d3057.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#2d3057">Background color is #2d3057.</div>
Background color is #2d3057.
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