HEX: #DDCC0B
RGB: (221,204,11)
#DDCC0B contains mainly red and green colors. Web safe color of #DDCC0B is #CCCC00 (or #CC0).
#DDCC0B color RGB value is (221,204,11).
RGB: (221,204,11) (87%,80%,4%)
R 221 of 255 = 87%
G 204 of 255 = 80%
B 11 of 255 = 4%
R + G + B ~ 57%. #DDCC0B is middle color (not dark and not light).
R + G + B =
221 + 204 + 11 = 436 (100%)
R 221 of 436 ~ 50.69%
G 204 of 436 ~ 46.79%
B 11 of 436 ~ 2.52%
#DDCC0B color CMYK value is (0,8,95,13).
CMYK: (0,8,95,13) C0M8Y95K13 (0%,8%,95%,13%) (0.00/0.08/0.95/0.13)
DD | CC | 0B | |
---|---|---|---|
RGB | 221 | 204 | 11 |
HSL | 55° | 90.52% | 45.49% |
HSB/HSV | 55° | 95.02% | 86.67% |
CMYK | 0.00% | 7.69% | 95.02% |
13.33% |
HEX | DD | CC | 0B |
Decimal | 221 | 204 | 11 |
Binary | 11011101 | 11001100 | 1011 |
Octal | 335 | 314 | 13 |
Examples of css and html codes for elements with #DDCC0B color. Also use rgb(221,204,11) instead hex code.
.myTextColor { color: #DDCC0B; }
<p style="color:#DDCC0B">This sample text font color is #DDCC0B.</p>
This text font color is #DDCC0B.
.myBgColor { background-color: #DDCC0B; }
<div style="background-color:#DDCC0B">Inner text</div>
This div background color is #DDCC0B.
.myBorderColor { border: 1px solid #DDCC0B; }
<div style="border:3px solid #DDCC0B">Div</div>
This div border color is #DDCC0B.
.myOpacity80 { color: #DDCC0B; opacity: 0.8; }
<p style="color:#DDCC0B;opacity:0.8;">80%</p>
Text with #DDCC0B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DDCC0B;}
<p style="text-shadow: 3px 3px 1px #DDCC0B">Text here.</p>
This text has shadow with #DDCC0B color.
.textShadow {text-shadow: 3px 3px 1px #DDCC0B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DDCC0B, 5px 5px 20px red">Text here.</p>
This text has shadow with #DDCC0B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DDCC0B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DDCC0B, Direction=45, Strength=4)">Text</p>
This text has shadow with #DDCC0B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DDCC0B; -webkit-box-shadow: 1px 1px 3px 2px #DDCC0B; box-shadow: 1px 1px 3px 2px #DDCC0B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DDCC0B; -webkit-box-shadow: 1px 1px 3px 2px #DDCC0B; box-shadow:1px 1px 3px 2px #DDCC0B;">
Div content here</div>
This text has color #DDCC0B on black background.
This text has color #DDCC0B on white background.
This text has black color on #DDCC0B background.
This text has white color on #DDCC0B background.