HEX: #CCB031
RGB: (204,176,49)
#CCB031 contains mainly red and green colors. Web safe color of #CCB031 is #CC9933 (or #C93).
#CCB031 color RGB value is (204,176,49).
RGB: (204,176,49) (80%,69%,19%)
R 204 of 255 = 80%
G 176 of 255 = 69%
B 49 of 255 = 19%
R + G + B ~ 56%. #CCB031 is middle color (not dark and not light).
R + G + B =
204 + 176 + 49 = 429 (100%)
R 204 of 429 ~ 47.55%
G 176 of 429 ~ 41.03%
B 49 of 429 ~ 11.42%
#CCB031 color CMYK value is (0,14,76,20).
CMYK: (0,14,76,20) C0M14Y76K20 (0%,14%,76%,20%) (0.00/0.14/0.76/0.20)
CC | B0 | 31 | |
---|---|---|---|
RGB | 204 | 176 | 49 |
HSL | 49° | 61.26% | 49.61% |
HSB/HSV | 49° | 75.98% | 80.00% |
CMYK | 0.00% | 13.73% | 75.98% |
20.00% |
HEX | CC | B0 | 31 |
Decimal | 204 | 176 | 49 |
Binary | 11001100 | 10110000 | 110001 |
Octal | 314 | 260 | 61 |
Examples of css and html codes for elements with #CCB031 color. Also use rgb(204,176,49) instead hex code.
.myTextColor { color: #CCB031; }
<p style="color:#CCB031">This sample text font color is #CCB031.</p>
This text font color is #CCB031.
.myBgColor { background-color: #CCB031; }
<div style="background-color:#CCB031">Inner text</div>
This div background color is #CCB031.
.myBorderColor { border: 1px solid #CCB031; }
<div style="border:3px solid #CCB031">Div</div>
This div border color is #CCB031.
.myOpacity80 { color: #CCB031; opacity: 0.8; }
<p style="color:#CCB031;opacity:0.8;">80%</p>
Text with #CCB031 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCB031;}
<p style="text-shadow: 3px 3px 1px #CCB031">Text here.</p>
This text has shadow with #CCB031 color.
.textShadow {text-shadow: 3px 3px 1px #CCB031, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCB031, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCB031 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCB031, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCB031, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCB031 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCB031; -webkit-box-shadow: 1px 1px 3px 2px #CCB031; box-shadow: 1px 1px 3px 2px #CCB031; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCB031; -webkit-box-shadow: 1px 1px 3px 2px #CCB031; box-shadow:1px 1px 3px 2px #CCB031;">
Div content here</div>
This text has color #CCB031 on black background.
This text has color #CCB031 on white background.
This text has black color on #CCB031 background.
This text has white color on #CCB031 background.