HEX: #CC7C30
RGB: (204,124,48)
#CC7C30 contains mainly red color. Web safe color of #CC7C30 is #CC6633 (or #C63).
#CC7C30 color RGB value is (204,124,48).
RGB: (204,124,48) (80%,49%,19%)
R 204 of 255 = 80%
G 124 of 255 = 49%
B 48 of 255 = 19%
R + G + B ~ 49%. #CC7C30 is middle color (not dark and not light).
R + G + B =
204 + 124 + 48 = 376 (100%)
R 204 of 376 ~ 54.26%
G 124 of 376 ~ 32.98%
B 48 of 376 ~ 12.77%
#CC7C30 color CMYK value is (0,39,76,20).
CMYK: (0,39,76,20) C0M39Y76K20 (0%,39%,76%,20%) (0.00/0.39/0.76/0.20)
CC | 7C | 30 | |
---|---|---|---|
RGB | 204 | 124 | 48 |
HSL | 29° | 61.90% | 49.41% |
HSB/HSV | 29° | 76.47% | 80.00% |
CMYK | 0.00% | 39.22% | 76.47% |
20.00% |
HEX | CC | 7C | 30 |
Decimal | 204 | 124 | 48 |
Binary | 11001100 | 1111100 | 110000 |
Octal | 314 | 174 | 60 |
Examples of css and html codes for elements with #CC7C30 color. Also use rgb(204,124,48) instead hex code.
.myTextColor { color: #CC7C30; }
<p style="color:#CC7C30">This sample text font color is #CC7C30.</p>
This text font color is #CC7C30.
.myBgColor { background-color: #CC7C30; }
<div style="background-color:#CC7C30">Inner text</div>
This div background color is #CC7C30.
.myBorderColor { border: 1px solid #CC7C30; }
<div style="border:3px solid #CC7C30">Div</div>
This div border color is #CC7C30.
.myOpacity80 { color: #CC7C30; opacity: 0.8; }
<p style="color:#CC7C30;opacity:0.8;">80%</p>
Text with #CC7C30 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7C30;}
<p style="text-shadow: 3px 3px 1px #CC7C30">Text here.</p>
This text has shadow with #CC7C30 color.
.textShadow {text-shadow: 3px 3px 1px #CC7C30, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7C30, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7C30 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7C30, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7C30, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7C30 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7C30; -webkit-box-shadow: 1px 1px 3px 2px #CC7C30; box-shadow: 1px 1px 3px 2px #CC7C30; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7C30; -webkit-box-shadow: 1px 1px 3px 2px #CC7C30; box-shadow:1px 1px 3px 2px #CC7C30;">
Div content here</div>
This text has color #CC7C30 on black background.
This text has color #CC7C30 on white background.
This text has black color on #CC7C30 background.
This text has white color on #CC7C30 background.