HEX: #D4D180
RGB: (212,209,128)
#D4D180 contains mainly red and green colors. Web safe color of #D4D180 is #CCCC66 (or #CC6).
#D4D180 color RGB value is (212,209,128).
RGB: (212,209,128) (83%,82%,50%)
R 212 of 255 = 83%
G 209 of 255 = 82%
B 128 of 255 = 50%
R + G + B ~ 72%. #D4D180 is quite light color.
R + G + B =
212 + 209 + 128 = 549 (100%)
R 212 of 549 ~ 38.62%
G 209 of 549 ~ 38.07%
B 128 of 549 ~ 23.32%
#D4D180 color CMYK value is (0,1,40,17).
CMYK: (0,1,40,17) C0M1Y40K17 (0%,1%,40%,17%) (0.00/0.01/0.40/0.17)
D4 | D1 | 80 | |
---|---|---|---|
RGB | 212 | 209 | 128 |
HSL | 58° | 49.41% | 66.67% |
HSB/HSV | 58° | 39.62% | 83.14% |
CMYK | 0.00% | 1.42% | 39.62% |
16.86% |
HEX | D4 | D1 | 80 |
Decimal | 212 | 209 | 128 |
Binary | 11010100 | 11010001 | 10000000 |
Octal | 324 | 321 | 200 |
Examples of css and html codes for elements with #D4D180 color. Also use rgb(212,209,128) instead hex code.
.myTextColor { color: #D4D180; }
<p style="color:#D4D180">This sample text font color is #D4D180.</p>
This text font color is #D4D180.
.myBgColor { background-color: #D4D180; }
<div style="background-color:#D4D180">Inner text</div>
This div background color is #D4D180.
.myBorderColor { border: 1px solid #D4D180; }
<div style="border:3px solid #D4D180">Div</div>
This div border color is #D4D180.
.myOpacity80 { color: #D4D180; opacity: 0.8; }
<p style="color:#D4D180;opacity:0.8;">80%</p>
Text with #D4D180 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4D180;}
<p style="text-shadow: 3px 3px 1px #D4D180">Text here.</p>
This text has shadow with #D4D180 color.
.textShadow {text-shadow: 3px 3px 1px #D4D180, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4D180, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4D180 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4D180, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4D180, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4D180 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4D180; -webkit-box-shadow: 1px 1px 3px 2px #D4D180; box-shadow: 1px 1px 3px 2px #D4D180; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4D180; -webkit-box-shadow: 1px 1px 3px 2px #D4D180; box-shadow:1px 1px 3px 2px #D4D180;">
Div content here</div>
This text has color #D4D180 on black background.
This text has color #D4D180 on white background.
This text has black color on #D4D180 background.
This text has white color on #D4D180 background.