HEX: #CC8A12
RGB: (204,138,18)
#CC8A12 contains mainly red color. Web safe color of #CC8A12 is #CC9900 (or #C90).
#CC8A12 color RGB value is (204,138,18).
RGB: (204,138,18) (80%,54%,7%)
R 204 of 255 = 80%
G 138 of 255 = 54%
B 18 of 255 = 7%
R + G + B ~ 47%. #CC8A12 is middle color (not dark and not light).
R + G + B =
204 + 138 + 18 = 360 (100%)
R 204 of 360 ~ 56.67%
G 138 of 360 ~ 38.33%
B 18 of 360 ~ 5%
#CC8A12 color CMYK value is (0,32,91,20).
CMYK: (0,32,91,20) C0M32Y91K20 (0%,32%,91%,20%) (0.00/0.32/0.91/0.20)
CC | 8A | 12 | |
---|---|---|---|
RGB | 204 | 138 | 18 |
HSL | 39° | 83.78% | 43.53% |
HSB/HSV | 39° | 91.18% | 80.00% |
CMYK | 0.00% | 32.35% | 91.18% |
20.00% |
HEX | CC | 8A | 12 |
Decimal | 204 | 138 | 18 |
Binary | 11001100 | 10001010 | 10010 |
Octal | 314 | 212 | 22 |
Examples of css and html codes for elements with #CC8A12 color. Also use rgb(204,138,18) instead hex code.
.myTextColor { color: #CC8A12; }
<p style="color:#CC8A12">This sample text font color is #CC8A12.</p>
This text font color is #CC8A12.
.myBgColor { background-color: #CC8A12; }
<div style="background-color:#CC8A12">Inner text</div>
This div background color is #CC8A12.
.myBorderColor { border: 1px solid #CC8A12; }
<div style="border:3px solid #CC8A12">Div</div>
This div border color is #CC8A12.
.myOpacity80 { color: #CC8A12; opacity: 0.8; }
<p style="color:#CC8A12;opacity:0.8;">80%</p>
Text with #CC8A12 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC8A12;}
<p style="text-shadow: 3px 3px 1px #CC8A12">Text here.</p>
This text has shadow with #CC8A12 color.
.textShadow {text-shadow: 3px 3px 1px #CC8A12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC8A12, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC8A12 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC8A12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC8A12, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC8A12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC8A12; -webkit-box-shadow: 1px 1px 3px 2px #CC8A12; box-shadow: 1px 1px 3px 2px #CC8A12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC8A12; -webkit-box-shadow: 1px 1px 3px 2px #CC8A12; box-shadow:1px 1px 3px 2px #CC8A12;">
Div content here</div>
This text has color #CC8A12 on black background.
This text has color #CC8A12 on white background.
This text has black color on #CC8A12 background.
This text has white color on #CC8A12 background.