HEX: #CCAA36
RGB: (204,170,54)
#CCAA36 contains mainly red and green colors. Web safe color of #CCAA36 is #CC9933 (or #C93).
#CCAA36 color RGB value is (204,170,54).
RGB: (204,170,54) (80%,67%,21%)
R 204 of 255 = 80%
G 170 of 255 = 67%
B 54 of 255 = 21%
R + G + B ~ 56%. #CCAA36 is middle color (not dark and not light).
R + G + B =
204 + 170 + 54 = 428 (100%)
R 204 of 428 ~ 47.66%
G 170 of 428 ~ 39.72%
B 54 of 428 ~ 12.62%
#CCAA36 color CMYK value is (0,17,74,20).
CMYK: (0,17,74,20) C0M17Y74K20 (0%,17%,74%,20%) (0.00/0.17/0.74/0.20)
CC | AA | 36 | |
---|---|---|---|
RGB | 204 | 170 | 54 |
HSL | 46° | 59.52% | 50.59% |
HSB/HSV | 46° | 73.53% | 80.00% |
CMYK | 0.00% | 16.67% | 73.53% |
20.00% |
HEX | CC | AA | 36 |
Decimal | 204 | 170 | 54 |
Binary | 11001100 | 10101010 | 110110 |
Octal | 314 | 252 | 66 |
Examples of css and html codes for elements with #CCAA36 color. Also use rgb(204,170,54) instead hex code.
.myTextColor { color: #CCAA36; }
<p style="color:#CCAA36">This sample text font color is #CCAA36.</p>
This text font color is #CCAA36.
.myBgColor { background-color: #CCAA36; }
<div style="background-color:#CCAA36">Inner text</div>
This div background color is #CCAA36.
.myBorderColor { border: 1px solid #CCAA36; }
<div style="border:3px solid #CCAA36">Div</div>
This div border color is #CCAA36.
.myOpacity80 { color: #CCAA36; opacity: 0.8; }
<p style="color:#CCAA36;opacity:0.8;">80%</p>
Text with #CCAA36 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCAA36;}
<p style="text-shadow: 3px 3px 1px #CCAA36">Text here.</p>
This text has shadow with #CCAA36 color.
.textShadow {text-shadow: 3px 3px 1px #CCAA36, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCAA36, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCAA36 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCAA36, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCAA36, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCAA36 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCAA36; -webkit-box-shadow: 1px 1px 3px 2px #CCAA36; box-shadow: 1px 1px 3px 2px #CCAA36; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCAA36; -webkit-box-shadow: 1px 1px 3px 2px #CCAA36; box-shadow:1px 1px 3px 2px #CCAA36;">
Div content here</div>
This text has color #CCAA36 on black background.
This text has color #CCAA36 on white background.
This text has black color on #CCAA36 background.
This text has white color on #CCAA36 background.