HEX: #D4588A
RGB: (212,88,138)
#D4588A contains mainly red color. Web safe color of #D4588A is #CC6699 (or #C69).
#D4588A color RGB value is (212,88,138).
RGB: (212,88,138) (83%,35%,54%)
R 212 of 255 = 83%
G 88 of 255 = 35%
B 138 of 255 = 54%
R + G + B ~ 57%. #D4588A is middle color (not dark and not light).
R + G + B =
212 + 88 + 138 = 438 (100%)
R 212 of 438 ~ 48.4%
G 88 of 438 ~ 20.09%
B 138 of 438 ~ 31.51%
#D4588A color CMYK value is (0,58,35,17).
CMYK: (0,58,35,17) C0M58Y35K17 (0%,58%,35%,17%) (0.00/0.58/0.35/0.17)
D4 | 58 | 8A | |
---|---|---|---|
RGB | 212 | 88 | 138 |
HSL | 336° | 59.05% | 58.82% |
HSB/HSV | 336° | 58.49% | 83.14% |
CMYK | 0.00% | 58.49% | 34.91% |
16.86% |
HEX | D4 | 58 | 8A |
Decimal | 212 | 88 | 138 |
Binary | 11010100 | 1011000 | 10001010 |
Octal | 324 | 130 | 212 |
Examples of css and html codes for elements with #D4588A color. Also use rgb(212,88,138) instead hex code.
.myTextColor { color: #D4588A; }
<p style="color:#D4588A">This sample text font color is #D4588A.</p>
This text font color is #D4588A.
.myBgColor { background-color: #D4588A; }
<div style="background-color:#D4588A">Inner text</div>
This div background color is #D4588A.
.myBorderColor { border: 1px solid #D4588A; }
<div style="border:3px solid #D4588A">Div</div>
This div border color is #D4588A.
.myOpacity80 { color: #D4588A; opacity: 0.8; }
<p style="color:#D4588A;opacity:0.8;">80%</p>
Text with #D4588A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4588A;}
<p style="text-shadow: 3px 3px 1px #D4588A">Text here.</p>
This text has shadow with #D4588A color.
.textShadow {text-shadow: 3px 3px 1px #D4588A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4588A, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4588A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4588A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4588A, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4588A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4588A; -webkit-box-shadow: 1px 1px 3px 2px #D4588A; box-shadow: 1px 1px 3px 2px #D4588A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4588A; -webkit-box-shadow: 1px 1px 3px 2px #D4588A; box-shadow:1px 1px 3px 2px #D4588A;">
Div content here</div>
This text has color #D4588A on black background.
This text has color #D4588A on white background.
This text has black color on #D4588A background.
This text has white color on #D4588A background.