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