HEX: #D0059C
RGB: (208,5,156)
#D0059C contains mainly red and blue colors. Web safe color of #D0059C is #CC0099 (or #C09).
#D0059C color RGB value is (208,5,156).
RGB: (208,5,156) (82%,2%,61%)
R 208 of 255 = 82%
G 5 of 255 = 2%
B 156 of 255 = 61%
R + G + B ~ 48%. #D0059C is middle color (not dark and not light).
R + G + B =
208 + 5 + 156 = 369 (100%)
R 208 of 369 ~ 56.37%
G 5 of 369 ~ 1.36%
B 156 of 369 ~ 42.28%
#D0059C color CMYK value is (0,98,25,18).
CMYK: (0,98,25,18) C0M98Y25K18 (0%,98%,25%,18%) (0.00/0.98/0.25/0.18)
D0 | 05 | 9C | |
---|---|---|---|
RGB | 208 | 5 | 156 |
HSL | 315° | 95.31% | 41.76% |
HSB/HSV | 315° | 97.60% | 81.57% |
CMYK | 0.00% | 97.60% | 25.00% |
18.43% |
HEX | D0 | 05 | 9C |
Decimal | 208 | 5 | 156 |
Binary | 11010000 | 101 | 10011100 |
Octal | 320 | 5 | 234 |
Examples of css and html codes for elements with #D0059C color. Also use rgb(208,5,156) instead hex code.
.myTextColor { color: #D0059C; }
<p style="color:#D0059C">This sample text font color is #D0059C.</p>
This text font color is #D0059C.
.myBgColor { background-color: #D0059C; }
<div style="background-color:#D0059C">Inner text</div>
This div background color is #D0059C.
.myBorderColor { border: 1px solid #D0059C; }
<div style="border:3px solid #D0059C">Div</div>
This div border color is #D0059C.
.myOpacity80 { color: #D0059C; opacity: 0.8; }
<p style="color:#D0059C;opacity:0.8;">80%</p>
Text with #D0059C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D0059C;}
<p style="text-shadow: 3px 3px 1px #D0059C">Text here.</p>
This text has shadow with #D0059C color.
.textShadow {text-shadow: 3px 3px 1px #D0059C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D0059C, 5px 5px 20px red">Text here.</p>
This text has shadow with #D0059C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D0059C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D0059C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D0059C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D0059C; -webkit-box-shadow: 1px 1px 3px 2px #D0059C; box-shadow: 1px 1px 3px 2px #D0059C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D0059C; -webkit-box-shadow: 1px 1px 3px 2px #D0059C; box-shadow:1px 1px 3px 2px #D0059C;">
Div content here</div>
This text has color #D0059C on black background.
This text has color #D0059C on white background.
This text has black color on #D0059C background.
This text has white color on #D0059C background.