HEX: #C4C807
RGB: (196,200,7)
#C4C807 contains mainly red and green colors. Web safe color of #C4C807 is #CCCC00 (or #CC0).
#C4C807 color RGB value is (196,200,7).
RGB: (196,200,7) (77%,78%,3%)
R 196 of 255 = 77%
G 200 of 255 = 78%
B 7 of 255 = 3%
R + G + B ~ 53%. #C4C807 is middle color (not dark and not light).
R + G + B =
196 + 200 + 7 = 403 (100%)
R 196 of 403 ~ 48.64%
G 200 of 403 ~ 49.63%
B 7 of 403 ~ 1.74%
#C4C807 color CMYK value is (2,0,97,22).
CMYK: (2,0,97,22) C2M0Y97K22 (2%,0%,97%,22%) (0.02/0.00/0.97/0.22)
C4 | C8 | 07 | |
---|---|---|---|
RGB | 196 | 200 | 7 |
HSL | 61° | 93.24% | 40.59% |
HSB/HSV | 61° | 96.50% | 78.43% |
CMYK | 2.00% | 0.00% | 96.50% |
21.57% |
HEX | C4 | C8 | 07 |
Decimal | 196 | 200 | 7 |
Binary | 11000100 | 11001000 | 111 |
Octal | 304 | 310 | 7 |
Examples of css and html codes for elements with #C4C807 color. Also use rgb(196,200,7) instead hex code.
.myTextColor { color: #C4C807; }
<p style="color:#C4C807">This sample text font color is #C4C807.</p>
This text font color is #C4C807.
.myBgColor { background-color: #C4C807; }
<div style="background-color:#C4C807">Inner text</div>
This div background color is #C4C807.
.myBorderColor { border: 1px solid #C4C807; }
<div style="border:3px solid #C4C807">Div</div>
This div border color is #C4C807.
.myOpacity80 { color: #C4C807; opacity: 0.8; }
<p style="color:#C4C807;opacity:0.8;">80%</p>
Text with #C4C807 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4C807;}
<p style="text-shadow: 3px 3px 1px #C4C807">Text here.</p>
This text has shadow with #C4C807 color.
.textShadow {text-shadow: 3px 3px 1px #C4C807, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4C807, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4C807 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4C807, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4C807, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4C807 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4C807; -webkit-box-shadow: 1px 1px 3px 2px #C4C807; box-shadow: 1px 1px 3px 2px #C4C807; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4C807; -webkit-box-shadow: 1px 1px 3px 2px #C4C807; box-shadow:1px 1px 3px 2px #C4C807;">
Div content here</div>
This text has color #C4C807 on black background.
This text has color #C4C807 on white background.
This text has black color on #C4C807 background.
This text has white color on #C4C807 background.