HEX: #CC780B
RGB: (204,120,11)
#CC780B contains mainly red color. Web safe color of #CC780B is #CC6600 (or #C60).
#CC780B color RGB value is (204,120,11).
RGB: (204,120,11) (80%,47%,4%)
R 204 of 255 = 80%
G 120 of 255 = 47%
B 11 of 255 = 4%
R + G + B ~ 44%. #CC780B is middle color (not dark and not light).
R + G + B =
204 + 120 + 11 = 335 (100%)
R 204 of 335 ~ 60.9%
G 120 of 335 ~ 35.82%
B 11 of 335 ~ 3.28%
#CC780B color CMYK value is (0,41,95,20).
CMYK: (0,41,95,20) C0M41Y95K20 (0%,41%,95%,20%) (0.00/0.41/0.95/0.20)
CC | 78 | 0B | |
---|---|---|---|
RGB | 204 | 120 | 11 |
HSL | 34° | 89.77% | 42.16% |
HSB/HSV | 34° | 94.61% | 80.00% |
CMYK | 0.00% | 41.18% | 94.61% |
20.00% |
HEX | CC | 78 | 0B |
Decimal | 204 | 120 | 11 |
Binary | 11001100 | 1111000 | 1011 |
Octal | 314 | 170 | 13 |
Examples of css and html codes for elements with #CC780B color. Also use rgb(204,120,11) instead hex code.
.myTextColor { color: #CC780B; }
<p style="color:#CC780B">This sample text font color is #CC780B.</p>
This text font color is #CC780B.
.myBgColor { background-color: #CC780B; }
<div style="background-color:#CC780B">Inner text</div>
This div background color is #CC780B.
.myBorderColor { border: 1px solid #CC780B; }
<div style="border:3px solid #CC780B">Div</div>
This div border color is #CC780B.
.myOpacity80 { color: #CC780B; opacity: 0.8; }
<p style="color:#CC780B;opacity:0.8;">80%</p>
Text with #CC780B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC780B;}
<p style="text-shadow: 3px 3px 1px #CC780B">Text here.</p>
This text has shadow with #CC780B color.
.textShadow {text-shadow: 3px 3px 1px #CC780B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC780B, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC780B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC780B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC780B, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC780B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC780B; -webkit-box-shadow: 1px 1px 3px 2px #CC780B; box-shadow: 1px 1px 3px 2px #CC780B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC780B; -webkit-box-shadow: 1px 1px 3px 2px #CC780B; box-shadow:1px 1px 3px 2px #CC780B;">
Div content here</div>
This text has color #CC780B on black background.
This text has color #CC780B on white background.
This text has black color on #CC780B background.
This text has white color on #CC780B background.