HEX: #C54A02
RGB: (197,74,2)
#C54A02 contains mainly red color. Web safe color of #C54A02 is #CC3300 (or #C30).
#C54A02 color RGB value is (197,74,2).
RGB: (197,74,2) (77%,29%,1%)
R 197 of 255 = 77%
G 74 of 255 = 29%
B 2 of 255 = 1%
R + G + B ~ 36%. #C54A02 is quite dark color.
R + G + B =
197 + 74 + 2 = 273 (100%)
R 197 of 273 ~ 72.16%
G 74 of 273 ~ 27.11%
B 2 of 273 ~ 0.73%
#C54A02 color CMYK value is (0,62,99,23).
CMYK: (0,62,99,23) C0M62Y99K23 (0%,62%,99%,23%) (0.00/0.62/0.99/0.23)
C5 | 4A | 02 | |
---|---|---|---|
RGB | 197 | 74 | 2 |
HSL | 22° | 97.99% | 39.02% |
HSB/HSV | 22° | 98.98% | 77.25% |
CMYK | 0.00% | 62.44% | 98.98% |
22.75% |
HEX | C5 | 4A | 02 |
Decimal | 197 | 74 | 2 |
Binary | 11000101 | 1001010 | 10 |
Octal | 305 | 112 | 2 |
Examples of css and html codes for elements with #C54A02 color. Also use rgb(197,74,2) instead hex code.
.myTextColor { color: #C54A02; }
<p style="color:#C54A02">This sample text font color is #C54A02.</p>
This text font color is #C54A02.
.myBgColor { background-color: #C54A02; }
<div style="background-color:#C54A02">Inner text</div>
This div background color is #C54A02.
.myBorderColor { border: 1px solid #C54A02; }
<div style="border:3px solid #C54A02">Div</div>
This div border color is #C54A02.
.myOpacity80 { color: #C54A02; opacity: 0.8; }
<p style="color:#C54A02;opacity:0.8;">80%</p>
Text with #C54A02 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C54A02;}
<p style="text-shadow: 3px 3px 1px #C54A02">Text here.</p>
This text has shadow with #C54A02 color.
.textShadow {text-shadow: 3px 3px 1px #C54A02, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C54A02, 5px 5px 20px red">Text here.</p>
This text has shadow with #C54A02 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C54A02, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C54A02, Direction=45, Strength=4)">Text</p>
This text has shadow with #C54A02 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C54A02; -webkit-box-shadow: 1px 1px 3px 2px #C54A02; box-shadow: 1px 1px 3px 2px #C54A02; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C54A02; -webkit-box-shadow: 1px 1px 3px 2px #C54A02; box-shadow:1px 1px 3px 2px #C54A02;">
Div content here</div>
This text has color #C54A02 on black background.
This text has color #C54A02 on white background.
This text has black color on #C54A02 background.
This text has white color on #C54A02 background.