HEX: #74D307
RGB: (116,211,7)
#74D307 contains mainly green color. Web safe color of #74D307 is #66CC00 (or #6C0).
#74D307 color RGB value is (116,211,7).
RGB: (116,211,7) (45%,83%,3%)
R 116 of 255 = 45%
G 211 of 255 = 83%
B 7 of 255 = 3%
R + G + B ~ 44%. #74D307 is middle color (not dark and not light).
R + G + B =
116 + 211 + 7 = 334 (100%)
R 116 of 334 ~ 34.73%
G 211 of 334 ~ 63.17%
B 7 of 334 ~ 2.1%
#74D307 color CMYK value is (45,0,97,17).
CMYK: (45,0,97,17) C45M0Y97K17 (45%,0%,97%,17%) (0.45/0.00/0.97/0.17)
74 | D3 | 07 | |
---|---|---|---|
RGB | 116 | 211 | 7 |
HSL | 88° | 93.58% | 42.75% |
HSB/HSV | 88° | 96.68% | 82.75% |
CMYK | 45.02% | 0.00% | 96.68% |
17.25% |
HEX | 74 | D3 | 07 |
Decimal | 116 | 211 | 7 |
Binary | 1110100 | 11010011 | 111 |
Octal | 164 | 323 | 7 |
Examples of css and html codes for elements with #74D307 color. Also use rgb(116,211,7) instead hex code.
.myTextColor { color: #74D307; }
<p style="color:#74D307">This sample text font color is #74D307.</p>
This text font color is #74D307.
.myBgColor { background-color: #74D307; }
<div style="background-color:#74D307">Inner text</div>
This div background color is #74D307.
.myBorderColor { border: 1px solid #74D307; }
<div style="border:3px solid #74D307">Div</div>
This div border color is #74D307.
.myOpacity80 { color: #74D307; opacity: 0.8; }
<p style="color:#74D307;opacity:0.8;">80%</p>
Text with #74D307 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74D307;}
<p style="text-shadow: 3px 3px 1px #74D307">Text here.</p>
This text has shadow with #74D307 color.
.textShadow {text-shadow: 3px 3px 1px #74D307, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74D307, 5px 5px 20px red">Text here.</p>
This text has shadow with #74D307 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74D307, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74D307, Direction=45, Strength=4)">Text</p>
This text has shadow with #74D307 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74D307; -webkit-box-shadow: 1px 1px 3px 2px #74D307; box-shadow: 1px 1px 3px 2px #74D307; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74D307; -webkit-box-shadow: 1px 1px 3px 2px #74D307; box-shadow:1px 1px 3px 2px #74D307;">
Div content here</div>
This text has color #74D307 on black background.
This text has color #74D307 on white background.
This text has black color on #74D307 background.
This text has white color on #74D307 background.