HEX: #04B479
RGB: (4,180,121)
#04B479 contains mainly green and blue colors. Web safe color of #04B479 is #00CC66 (or #0C6).
#04B479 color RGB value is (4,180,121).
RGB: (4,180,121) (2%,71%,47%)
R 4 of 255 = 2%
G 180 of 255 = 71%
B 121 of 255 = 47%
R + G + B ~ 40%. #04B479 is middle color (not dark and not light).
R + G + B =
4 + 180 + 121 = 305 (100%)
R 4 of 305 ~ 1.31%
G 180 of 305 ~ 59.02%
B 121 of 305 ~ 39.67%
#04B479 color CMYK value is (98,0,33,29).
CMYK: (98,0,33,29) C98M0Y33K29 (98%,0%,33%,29%) (0.98/0.00/0.33/0.29)
04 | B4 | 79 | |
---|---|---|---|
RGB | 4 | 180 | 121 |
HSL | 160° | 95.65% | 36.08% |
HSB/HSV | 160° | 97.78% | 70.59% |
CMYK | 97.78% | 0.00% | 32.78% |
29.41% |
HEX | 04 | B4 | 79 |
Decimal | 4 | 180 | 121 |
Binary | 100 | 10110100 | 1111001 |
Octal | 4 | 264 | 171 |
Examples of css and html codes for elements with #04B479 color. Also use rgb(4,180,121) instead hex code.
.myTextColor { color: #04B479; }
<p style="color:#04B479">This sample text font color is #04B479.</p>
This text font color is #04B479.
.myBgColor { background-color: #04B479; }
<div style="background-color:#04B479">Inner text</div>
This div background color is #04B479.
.myBorderColor { border: 1px solid #04B479; }
<div style="border:3px solid #04B479">Div</div>
This div border color is #04B479.
.myOpacity80 { color: #04B479; opacity: 0.8; }
<p style="color:#04B479;opacity:0.8;">80%</p>
Text with #04B479 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04B479;}
<p style="text-shadow: 3px 3px 1px #04B479">Text here.</p>
This text has shadow with #04B479 color.
.textShadow {text-shadow: 3px 3px 1px #04B479, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04B479, 5px 5px 20px red">Text here.</p>
This text has shadow with #04B479 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04B479, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04B479, Direction=45, Strength=4)">Text</p>
This text has shadow with #04B479 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04B479; -webkit-box-shadow: 1px 1px 3px 2px #04B479; box-shadow: 1px 1px 3px 2px #04B479; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04B479; -webkit-box-shadow: 1px 1px 3px 2px #04B479; box-shadow:1px 1px 3px 2px #04B479;">
Div content here</div>
This text has color #04B479 on black background.
This text has color #04B479 on white background.
This text has black color on #04B479 background.
This text has white color on #04B479 background.