HEX: #D5388D
RGB: (213,56,141)
#D5388D contains mainly red color. Web safe color of #D5388D is #CC3399 (or #C39).
#D5388D color RGB value is (213,56,141).
RGB: (213,56,141) (84%,22%,55%)
R 213 of 255 = 84%
G 56 of 255 = 22%
B 141 of 255 = 55%
R + G + B ~ 54%. #D5388D is middle color (not dark and not light).
R + G + B =
213 + 56 + 141 = 410 (100%)
R 213 of 410 ~ 51.95%
G 56 of 410 ~ 13.66%
B 141 of 410 ~ 34.39%
#D5388D color CMYK value is (0,74,34,16).
CMYK: (0,74,34,16) C0M74Y34K16 (0%,74%,34%,16%) (0.00/0.74/0.34/0.16)
D5 | 38 | 8D | |
---|---|---|---|
RGB | 213 | 56 | 141 |
HSL | 328° | 65.15% | 52.75% |
HSB/HSV | 328° | 73.71% | 83.53% |
CMYK | 0.00% | 73.71% | 33.80% |
16.47% |
HEX | D5 | 38 | 8D |
Decimal | 213 | 56 | 141 |
Binary | 11010101 | 111000 | 10001101 |
Octal | 325 | 70 | 215 |
Examples of css and html codes for elements with #D5388D color. Also use rgb(213,56,141) instead hex code.
.myTextColor { color: #D5388D; }
<p style="color:#D5388D">This sample text font color is #D5388D.</p>
This text font color is #D5388D.
.myBgColor { background-color: #D5388D; }
<div style="background-color:#D5388D">Inner text</div>
This div background color is #D5388D.
.myBorderColor { border: 1px solid #D5388D; }
<div style="border:3px solid #D5388D">Div</div>
This div border color is #D5388D.
.myOpacity80 { color: #D5388D; opacity: 0.8; }
<p style="color:#D5388D;opacity:0.8;">80%</p>
Text with #D5388D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5388D;}
<p style="text-shadow: 3px 3px 1px #D5388D">Text here.</p>
This text has shadow with #D5388D color.
.textShadow {text-shadow: 3px 3px 1px #D5388D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5388D, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5388D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5388D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5388D, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5388D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5388D; -webkit-box-shadow: 1px 1px 3px 2px #D5388D; box-shadow: 1px 1px 3px 2px #D5388D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5388D; -webkit-box-shadow: 1px 1px 3px 2px #D5388D; box-shadow:1px 1px 3px 2px #D5388D;">
Div content here</div>
This text has color #D5388D on black background.
This text has color #D5388D on white background.
This text has black color on #D5388D background.
This text has white color on #D5388D background.