HEX: #959704
RGB: (149,151,4)
#959704 contains mainly red and green colors. Web safe color of #959704 is #999900 (or #990).
#959704 color RGB value is (149,151,4).
RGB: (149,151,4) (58%,59%,2%)
R 149 of 255 = 58%
G 151 of 255 = 59%
B 4 of 255 = 2%
R + G + B ~ 40%. #959704 is middle color (not dark and not light).
R + G + B =
149 + 151 + 4 = 304 (100%)
R 149 of 304 ~ 49.01%
G 151 of 304 ~ 49.67%
B 4 of 304 ~ 1.32%
#959704 color CMYK value is (1,0,97,41).
CMYK: (1,0,97,41) C1M0Y97K41 (1%,0%,97%,41%) (0.01/0.00/0.97/0.41)
95 | 97 | 04 | |
---|---|---|---|
RGB | 149 | 151 | 4 |
HSL | 61° | 94.84% | 30.39% |
HSB/HSV | 61° | 97.35% | 59.22% |
CMYK | 1.32% | 0.00% | 97.35% |
40.78% |
HEX | 95 | 97 | 04 |
Decimal | 149 | 151 | 4 |
Binary | 10010101 | 10010111 | 100 |
Octal | 225 | 227 | 4 |
Examples of css and html codes for elements with #959704 color. Also use rgb(149,151,4) instead hex code.
.myTextColor { color: #959704; }
<p style="color:#959704">This sample text font color is #959704.</p>
This text font color is #959704.
.myBgColor { background-color: #959704; }
<div style="background-color:#959704">Inner text</div>
This div background color is #959704.
.myBorderColor { border: 1px solid #959704; }
<div style="border:3px solid #959704">Div</div>
This div border color is #959704.
.myOpacity80 { color: #959704; opacity: 0.8; }
<p style="color:#959704;opacity:0.8;">80%</p>
Text with #959704 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #959704;}
<p style="text-shadow: 3px 3px 1px #959704">Text here.</p>
This text has shadow with #959704 color.
.textShadow {text-shadow: 3px 3px 1px #959704, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #959704, 5px 5px 20px red">Text here.</p>
This text has shadow with #959704 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#959704, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#959704, Direction=45, Strength=4)">Text</p>
This text has shadow with #959704 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #959704; -webkit-box-shadow: 1px 1px 3px 2px #959704; box-shadow: 1px 1px 3px 2px #959704; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #959704; -webkit-box-shadow: 1px 1px 3px 2px #959704; box-shadow:1px 1px 3px 2px #959704;">
Div content here</div>
This text has color #959704 on black background.
This text has color #959704 on white background.
This text has black color on #959704 background.
This text has white color on #959704 background.