HEX: #C0A31C
RGB: (192,163,28)
#C0A31C contains mainly red and green colors. Web safe color of #C0A31C is #CC9933 (or #C93).
#C0A31C color RGB value is (192,163,28).
RGB: (192,163,28) (75%,64%,11%)
R 192 of 255 = 75%
G 163 of 255 = 64%
B 28 of 255 = 11%
R + G + B ~ 50%. #C0A31C is middle color (not dark and not light).
R + G + B =
192 + 163 + 28 = 383 (100%)
R 192 of 383 ~ 50.13%
G 163 of 383 ~ 42.56%
B 28 of 383 ~ 7.31%
#C0A31C color CMYK value is (0,15,85,25).
CMYK: (0,15,85,25) C0M15Y85K25 (0%,15%,85%,25%) (0.00/0.15/0.85/0.25)
C0 | A3 | 1C | |
---|---|---|---|
RGB | 192 | 163 | 28 |
HSL | 49° | 74.55% | 43.14% |
HSB/HSV | 49° | 85.42% | 75.29% |
CMYK | 0.00% | 15.10% | 85.42% |
24.71% |
HEX | C0 | A3 | 1C |
Decimal | 192 | 163 | 28 |
Binary | 11000000 | 10100011 | 11100 |
Octal | 300 | 243 | 34 |
Examples of css and html codes for elements with #C0A31C color. Also use rgb(192,163,28) instead hex code.
.myTextColor { color: #C0A31C; }
<p style="color:#C0A31C">This sample text font color is #C0A31C.</p>
This text font color is #C0A31C.
.myBgColor { background-color: #C0A31C; }
<div style="background-color:#C0A31C">Inner text</div>
This div background color is #C0A31C.
.myBorderColor { border: 1px solid #C0A31C; }
<div style="border:3px solid #C0A31C">Div</div>
This div border color is #C0A31C.
.myOpacity80 { color: #C0A31C; opacity: 0.8; }
<p style="color:#C0A31C;opacity:0.8;">80%</p>
Text with #C0A31C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C0A31C;}
<p style="text-shadow: 3px 3px 1px #C0A31C">Text here.</p>
This text has shadow with #C0A31C color.
.textShadow {text-shadow: 3px 3px 1px #C0A31C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C0A31C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C0A31C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C0A31C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C0A31C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C0A31C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C0A31C; -webkit-box-shadow: 1px 1px 3px 2px #C0A31C; box-shadow: 1px 1px 3px 2px #C0A31C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C0A31C; -webkit-box-shadow: 1px 1px 3px 2px #C0A31C; box-shadow:1px 1px 3px 2px #C0A31C;">
Div content here</div>
This text has color #C0A31C on black background.
This text has color #C0A31C on white background.
This text has black color on #C0A31C background.
This text has white color on #C0A31C background.