HEX: #D374C2
RGB: (211,116,194)
#D374C2 contains mainly red and blue colors. Web safe color of #D374C2 is #CC66CC (or #C6C).
#D374C2 color RGB value is (211,116,194).
RGB: (211,116,194) (83%,45%,76%)
R 211 of 255 = 83%
G 116 of 255 = 45%
B 194 of 255 = 76%
R + G + B ~ 68%. #D374C2 is quite light color.
R + G + B =
211 + 116 + 194 = 521 (100%)
R 211 of 521 ~ 40.5%
G 116 of 521 ~ 22.26%
B 194 of 521 ~ 37.24%
#D374C2 color CMYK value is (0,45,8,17).
CMYK: (0,45,8,17) C0M45Y8K17 (0%,45%,8%,17%) (0.00/0.45/0.08/0.17)
D3 | 74 | C2 | |
---|---|---|---|
RGB | 211 | 116 | 194 |
HSL | 311° | 51.91% | 64.12% |
HSB/HSV | 311° | 45.02% | 82.75% |
CMYK | 0.00% | 45.02% | 8.06% |
17.25% |
HEX | D3 | 74 | C2 |
Decimal | 211 | 116 | 194 |
Binary | 11010011 | 1110100 | 11000010 |
Octal | 323 | 164 | 302 |
Examples of css and html codes for elements with #D374C2 color. Also use rgb(211,116,194) instead hex code.
.myTextColor { color: #D374C2; }
<p style="color:#D374C2">This sample text font color is #D374C2.</p>
This text font color is #D374C2.
.myBgColor { background-color: #D374C2; }
<div style="background-color:#D374C2">Inner text</div>
This div background color is #D374C2.
.myBorderColor { border: 1px solid #D374C2; }
<div style="border:3px solid #D374C2">Div</div>
This div border color is #D374C2.
.myOpacity80 { color: #D374C2; opacity: 0.8; }
<p style="color:#D374C2;opacity:0.8;">80%</p>
Text with #D374C2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D374C2;}
<p style="text-shadow: 3px 3px 1px #D374C2">Text here.</p>
This text has shadow with #D374C2 color.
.textShadow {text-shadow: 3px 3px 1px #D374C2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D374C2, 5px 5px 20px red">Text here.</p>
This text has shadow with #D374C2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D374C2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D374C2, Direction=45, Strength=4)">Text</p>
This text has shadow with #D374C2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D374C2; -webkit-box-shadow: 1px 1px 3px 2px #D374C2; box-shadow: 1px 1px 3px 2px #D374C2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D374C2; -webkit-box-shadow: 1px 1px 3px 2px #D374C2; box-shadow:1px 1px 3px 2px #D374C2;">
Div content here</div>
This text has color #D374C2 on black background.
This text has color #D374C2 on white background.
This text has black color on #D374C2 background.
This text has white color on #D374C2 background.