HEX: #C5AB2C
RGB: (197,171,44)
#C5AB2C contains mainly red and green colors. Web safe color of #C5AB2C is #CC9933 (or #C93).
#C5AB2C color RGB value is (197,171,44).
RGB: (197,171,44) (77%,67%,17%)
R 197 of 255 = 77%
G 171 of 255 = 67%
B 44 of 255 = 17%
R + G + B ~ 54%. #C5AB2C is middle color (not dark and not light).
R + G + B =
197 + 171 + 44 = 412 (100%)
R 197 of 412 ~ 47.82%
G 171 of 412 ~ 41.5%
B 44 of 412 ~ 10.68%
#C5AB2C color CMYK value is (0,13,78,23).
CMYK: (0,13,78,23) C0M13Y78K23 (0%,13%,78%,23%) (0.00/0.13/0.78/0.23)
C5 | AB | 2C | |
---|---|---|---|
RGB | 197 | 171 | 44 |
HSL | 50° | 63.49% | 47.25% |
HSB/HSV | 50° | 77.66% | 77.25% |
CMYK | 0.00% | 13.20% | 77.66% |
22.75% |
HEX | C5 | AB | 2C |
Decimal | 197 | 171 | 44 |
Binary | 11000101 | 10101011 | 101100 |
Octal | 305 | 253 | 54 |
Examples of css and html codes for elements with #C5AB2C color. Also use rgb(197,171,44) instead hex code.
.myTextColor { color: #C5AB2C; }
<p style="color:#C5AB2C">This sample text font color is #C5AB2C.</p>
This text font color is #C5AB2C.
.myBgColor { background-color: #C5AB2C; }
<div style="background-color:#C5AB2C">Inner text</div>
This div background color is #C5AB2C.
.myBorderColor { border: 1px solid #C5AB2C; }
<div style="border:3px solid #C5AB2C">Div</div>
This div border color is #C5AB2C.
.myOpacity80 { color: #C5AB2C; opacity: 0.8; }
<p style="color:#C5AB2C;opacity:0.8;">80%</p>
Text with #C5AB2C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5AB2C;}
<p style="text-shadow: 3px 3px 1px #C5AB2C">Text here.</p>
This text has shadow with #C5AB2C color.
.textShadow {text-shadow: 3px 3px 1px #C5AB2C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5AB2C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5AB2C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5AB2C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5AB2C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5AB2C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5AB2C; -webkit-box-shadow: 1px 1px 3px 2px #C5AB2C; box-shadow: 1px 1px 3px 2px #C5AB2C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5AB2C; -webkit-box-shadow: 1px 1px 3px 2px #C5AB2C; box-shadow:1px 1px 3px 2px #C5AB2C;">
Div content here</div>
This text has color #C5AB2C on black background.
This text has color #C5AB2C on white background.
This text has black color on #C5AB2C background.
This text has white color on #C5AB2C background.