HEX: #D9127D
RGB: (217,18,125)
#D9127D contains mainly red color. Web safe color of #D9127D is #CC0066 (or #C06).
#D9127D color RGB value is (217,18,125).
RGB: (217,18,125) (85%,7%,49%)
R 217 of 255 = 85%
G 18 of 255 = 7%
B 125 of 255 = 49%
R + G + B ~ 47%. #D9127D is middle color (not dark and not light).
R + G + B =
217 + 18 + 125 = 360 (100%)
R 217 of 360 ~ 60.28%
G 18 of 360 ~ 5%
B 125 of 360 ~ 34.72%
#D9127D color CMYK value is (0,92,42,15).
CMYK: (0,92,42,15) C0M92Y42K15 (0%,92%,42%,15%) (0.00/0.92/0.42/0.15)
D9 | 12 | 7D | |
---|---|---|---|
RGB | 217 | 18 | 125 |
HSL | 328° | 84.68% | 46.08% |
HSB/HSV | 328° | 91.71% | 85.10% |
CMYK | 0.00% | 91.71% | 42.40% |
14.90% |
HEX | D9 | 12 | 7D |
Decimal | 217 | 18 | 125 |
Binary | 11011001 | 10010 | 1111101 |
Octal | 331 | 22 | 175 |
Examples of css and html codes for elements with #D9127D color. Also use rgb(217,18,125) instead hex code.
.myTextColor { color: #D9127D; }
<p style="color:#D9127D">This sample text font color is #D9127D.</p>
This text font color is #D9127D.
.myBgColor { background-color: #D9127D; }
<div style="background-color:#D9127D">Inner text</div>
This div background color is #D9127D.
.myBorderColor { border: 1px solid #D9127D; }
<div style="border:3px solid #D9127D">Div</div>
This div border color is #D9127D.
.myOpacity80 { color: #D9127D; opacity: 0.8; }
<p style="color:#D9127D;opacity:0.8;">80%</p>
Text with #D9127D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9127D;}
<p style="text-shadow: 3px 3px 1px #D9127D">Text here.</p>
This text has shadow with #D9127D color.
.textShadow {text-shadow: 3px 3px 1px #D9127D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9127D, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9127D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9127D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9127D, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9127D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9127D; -webkit-box-shadow: 1px 1px 3px 2px #D9127D; box-shadow: 1px 1px 3px 2px #D9127D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9127D; -webkit-box-shadow: 1px 1px 3px 2px #D9127D; box-shadow:1px 1px 3px 2px #D9127D;">
Div content here</div>
This text has color #D9127D on black background.
This text has color #D9127D on white background.
This text has black color on #D9127D background.
This text has white color on #D9127D background.