Hex color #154301, RGB(21, 67, 1) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #154301 is a shade of green-yellow. In a RGB color space it is composed of 8.24% red, 26.27% green and 0.39% blue. In HSL notation it has 101.8° hue, 97.1% saturation and 13.3% lightness. The process color (CMYK) is combination of 68.66% cyan, 0% magenta, 98.51% yellow and 73.73% key (black). The closest short hexadecimal code of #154301 is #140.
Example CSS code:
.setFontColor { color: #154301; }
.setBackgroundColor { background-color: #154301; }
How to set font color?
<p style="color:#154301">Font color is #154301.</p>
Font color is #154301.
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
How to set background color?
<div style="background-color:#154301">Background color is #154301.</div>
Background color is #154301.
Compromise in colors is grey.
- Edi Rama