HEX: #CC5422
RGB: (204,84,34)
#CC5422 contains mainly red color. Web safe color of #CC5422 is #CC6633 (or #C63).
#CC5422 color RGB value is (204,84,34).
RGB: (204,84,34) (80%,33%,13%)
R 204 of 255 = 80%
G 84 of 255 = 33%
B 34 of 255 = 13%
R + G + B ~ 42%. #CC5422 is middle color (not dark and not light).
R + G + B =
204 + 84 + 34 = 322 (100%)
R 204 of 322 ~ 63.35%
G 84 of 322 ~ 26.09%
B 34 of 322 ~ 10.56%
#CC5422 color CMYK value is (0,59,83,20).
CMYK: (0,59,83,20) C0M59Y83K20 (0%,59%,83%,20%) (0.00/0.59/0.83/0.20)
CC | 54 | 22 | |
---|---|---|---|
RGB | 204 | 84 | 34 |
HSL | 18° | 71.43% | 46.67% |
HSB/HSV | 18° | 83.33% | 80.00% |
CMYK | 0.00% | 58.82% | 83.33% |
20.00% |
HEX | CC | 54 | 22 |
Decimal | 204 | 84 | 34 |
Binary | 11001100 | 1010100 | 100010 |
Octal | 314 | 124 | 42 |
Examples of css and html codes for elements with #CC5422 color. Also use rgb(204,84,34) instead hex code.
.myTextColor { color: #CC5422; }
<p style="color:#CC5422">This sample text font color is #CC5422.</p>
This text font color is #CC5422.
.myBgColor { background-color: #CC5422; }
<div style="background-color:#CC5422">Inner text</div>
This div background color is #CC5422.
.myBorderColor { border: 1px solid #CC5422; }
<div style="border:3px solid #CC5422">Div</div>
This div border color is #CC5422.
.myOpacity80 { color: #CC5422; opacity: 0.8; }
<p style="color:#CC5422;opacity:0.8;">80%</p>
Text with #CC5422 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC5422;}
<p style="text-shadow: 3px 3px 1px #CC5422">Text here.</p>
This text has shadow with #CC5422 color.
.textShadow {text-shadow: 3px 3px 1px #CC5422, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC5422, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC5422 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC5422, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC5422, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC5422 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC5422; -webkit-box-shadow: 1px 1px 3px 2px #CC5422; box-shadow: 1px 1px 3px 2px #CC5422; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC5422; -webkit-box-shadow: 1px 1px 3px 2px #CC5422; box-shadow:1px 1px 3px 2px #CC5422;">
Div content here</div>
This text has color #CC5422 on black background.
This text has color #CC5422 on white background.
This text has black color on #CC5422 background.
This text has white color on #CC5422 background.