Hex color #ff4cdc, RGB(255, 76, 220) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ff4cdc is a shade of magenta. In a RGB color space it is composed of 100% red, 29.8% green and 86.27% blue. In HSL notation it has 311.7° hue, 100% saturation and 64.9% lightness. The process color (CMYK) is combination of 0% cyan, 70.20% magenta, 13.73% yellow and 0% key (black). The closest short hexadecimal code of #ff4cdc is #f4d.
Example CSS code:
.setFontColor { color: #ff4cdc; }
.setBackgroundColor { background-color: #ff4cdc; }
How to set font color?
<p style="color:#ff4cdc">Font color is #ff4cdc.</p>
Font color is #ff4cdc.
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:#ff4cdc">Background color is #ff4cdc.</div>
Background color is #ff4cdc.
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