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