HEX: #D491B1
RGB: (212,145,177)
#D491B1 contains mainly red and blue colors. Web safe color of #D491B1 is #CC9999 (or #C99).
#D491B1 color RGB value is (212,145,177).
RGB: (212,145,177) (83%,57%,69%)
R 212 of 255 = 83%
G 145 of 255 = 57%
B 177 of 255 = 69%
R + G + B ~ 70%. #D491B1 is quite light color.
R + G + B =
212 + 145 + 177 = 534 (100%)
R 212 of 534 ~ 39.7%
G 145 of 534 ~ 27.15%
B 177 of 534 ~ 33.15%
#D491B1 color CMYK value is (0,32,17,17).
CMYK: (0,32,17,17) C0M32Y17K17 (0%,32%,17%,17%) (0.00/0.32/0.17/0.17)
D4 | 91 | B1 | |
---|---|---|---|
RGB | 212 | 145 | 177 |
HSL | 331° | 43.79% | 70.00% |
HSB/HSV | 331° | 31.60% | 83.14% |
CMYK | 0.00% | 31.60% | 16.51% |
16.86% |
HEX | D4 | 91 | B1 |
Decimal | 212 | 145 | 177 |
Binary | 11010100 | 10010001 | 10110001 |
Octal | 324 | 221 | 261 |
Examples of css and html codes for elements with #D491B1 color. Also use rgb(212,145,177) instead hex code.
.myTextColor { color: #D491B1; }
<p style="color:#D491B1">This sample text font color is #D491B1.</p>
This text font color is #D491B1.
.myBgColor { background-color: #D491B1; }
<div style="background-color:#D491B1">Inner text</div>
This div background color is #D491B1.
.myBorderColor { border: 1px solid #D491B1; }
<div style="border:3px solid #D491B1">Div</div>
This div border color is #D491B1.
.myOpacity80 { color: #D491B1; opacity: 0.8; }
<p style="color:#D491B1;opacity:0.8;">80%</p>
Text with #D491B1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D491B1;}
<p style="text-shadow: 3px 3px 1px #D491B1">Text here.</p>
This text has shadow with #D491B1 color.
.textShadow {text-shadow: 3px 3px 1px #D491B1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D491B1, 5px 5px 20px red">Text here.</p>
This text has shadow with #D491B1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D491B1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D491B1, Direction=45, Strength=4)">Text</p>
This text has shadow with #D491B1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D491B1; -webkit-box-shadow: 1px 1px 3px 2px #D491B1; box-shadow: 1px 1px 3px 2px #D491B1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D491B1; -webkit-box-shadow: 1px 1px 3px 2px #D491B1; box-shadow:1px 1px 3px 2px #D491B1;">
Div content here</div>
This text has color #D491B1 on black background.
This text has color #D491B1 on white background.
This text has black color on #D491B1 background.
This text has white color on #D491B1 background.