HEX: #D492D1
RGB: (212,146,209)
#D492D1 contains mainly red and blue colors. Web safe color of #D492D1 is #CC99CC (or #C9C).
#D492D1 color RGB value is (212,146,209).
RGB: (212,146,209) (83%,57%,82%)
R 212 of 255 = 83%
G 146 of 255 = 57%
B 209 of 255 = 82%
R + G + B ~ 74%. #D492D1 is quite light color.
R + G + B =
212 + 146 + 209 = 567 (100%)
R 212 of 567 ~ 37.39%
G 146 of 567 ~ 25.75%
B 209 of 567 ~ 36.86%
#D492D1 color CMYK value is (0,31,1,17).
CMYK: (0,31,1,17) C0M31Y1K17 (0%,31%,1%,17%) (0.00/0.31/0.01/0.17)
D4 | 92 | D1 | |
---|---|---|---|
RGB | 212 | 146 | 209 |
HSL | 303° | 43.42% | 70.20% |
HSB/HSV | 303° | 31.13% | 83.14% |
CMYK | 0.00% | 31.13% | 1.42% |
16.86% |
HEX | D4 | 92 | D1 |
Decimal | 212 | 146 | 209 |
Binary | 11010100 | 10010010 | 11010001 |
Octal | 324 | 222 | 321 |
Examples of css and html codes for elements with #D492D1 color. Also use rgb(212,146,209) instead hex code.
.myTextColor { color: #D492D1; }
<p style="color:#D492D1">This sample text font color is #D492D1.</p>
This text font color is #D492D1.
.myBgColor { background-color: #D492D1; }
<div style="background-color:#D492D1">Inner text</div>
This div background color is #D492D1.
.myBorderColor { border: 1px solid #D492D1; }
<div style="border:3px solid #D492D1">Div</div>
This div border color is #D492D1.
.myOpacity80 { color: #D492D1; opacity: 0.8; }
<p style="color:#D492D1;opacity:0.8;">80%</p>
Text with #D492D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D492D1;}
<p style="text-shadow: 3px 3px 1px #D492D1">Text here.</p>
This text has shadow with #D492D1 color.
.textShadow {text-shadow: 3px 3px 1px #D492D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D492D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #D492D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D492D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D492D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #D492D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D492D1; -webkit-box-shadow: 1px 1px 3px 2px #D492D1; box-shadow: 1px 1px 3px 2px #D492D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D492D1; -webkit-box-shadow: 1px 1px 3px 2px #D492D1; box-shadow:1px 1px 3px 2px #D492D1;">
Div content here</div>
This text has color #D492D1 on black background.
This text has color #D492D1 on white background.
This text has black color on #D492D1 background.
This text has white color on #D492D1 background.