COLOR #047812

HEX: #047812
RGB: (4,120,18)

Color info

#047812 contains mainly green color. Web safe color of #047812 is #006600 (or #060).

RGB color model

#047812 color RGB value is (4,120,18).

  • red value is 4;
  • green value is 120;
  • blue value is 18.
RGB:
(4,120,18)
(2%,47%,7%)

RGB channels and saturation

R 4 of 255 = 2%
G 120 of 255 = 47%
B 18 of 255 = 7%

4
120
18

R + G + B ~ 19%. #047812 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 120 + 18 = 142 (100%)
R 4 of 142 ~ 2.82%
G 120 of 142 ~ 84.51%
B 18 of 142 ~ 12.68%

%84.51
%12.68

CMYK color model

#047812 color CMYK value is (97,0,85,53).

  • cyan value is 96.67%
  • magenta value is 0.00%
  • yellow value is 85.00%
  • key color value is 52.94%
CMYK:
(97,0,85,53)
C97M0Y85K53 
(97%,0%,85%,53%)
(0.97/0.00/0.85/0.53)	

CMYK percentages

%96.67
%0
%85
%52.94

Codes

Color #047812 in popluar color models

047812
RGB412018
HSL127°93.55%24.31%
HSB/HSV127°96.67%47.06%
CMYK96.67%0.00%85.00%
52.94%

Color #047812 in popluar number systems.

HEX047812
Decimal412018
Binary100111100010010
Octal417022

Shades and tints

Shades of #047812

#047812
(4,120,18)
#046E11
(4,110,17)
#046410
(4,100,16)
#045A0F
(4,90,15)
#04500E
(4,80,14)
#04460D
(4,70,13)
#043C0C
(4,60,12)
#04320B
(4,50,11)
#04280A
(4,40,10)
#041E09
(4,30,9)
#041408
(4,20,8)
#000000
(0,0,0)

Tints of #047812

#047812
(4,120,18)
#1A8427
(26,132,39)
#30903C
(48,144,60)
#469C51
(70,156,81)
#5CA866
(92,168,102)
#72B47B
(114,180,123)
#88C090
(136,192,144)
#9ECCA5
(158,204,165)
#B4D8BA
(180,216,186)
#CAE4CF
(202,228,207)
#E0F0E4
(224,240,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #047812 color. Also use rgb(4,120,18) instead hex code.

Text Font Color

.myTextColor { color: #047812; }

<p style="color:#047812">This sample text font color is #047812.</p>

This text font color is #047812.


Background Color

.myBgColor { background-color: #047812; }

<div style="background-color:#047812">Inner text</div>

This div background color is #047812.


Border color

.myBorderColor { border: 1px solid #047812; }

<div style="border:3px solid #047812">Div</div>

This div border color is #047812.


Opacity

.myOpacity80 { color: #047812; opacity: 0.8; }

<p style="color:#047812;opacity:0.8;">80%</p>

Text with #047812 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #047812;}

<p style="text-shadow: 3px 3px 1px #047812">Text here.</p>

This text has shadow with #047812 color.

.textShadow {text-shadow: 3px 3px 1px #047812, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #047812, 5px 5px 20px red">Text here.</p>

This text has shadow with #047812 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#047812, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#047812, Direction=45, Strength=4)">Text</p>

This text has shadow with #047812 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #047812;
  -webkit-box-shadow:	1px 1px 3px 2px #047812;
  box-shadow:		1px 1px 3px 2px #047812;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #047812;
-webkit-box-shadow: 1px 1px 3px 2px #047812;
box-shadow:1px 1px 3px 2px #047812;">
Div content here</div>
This div box has shadow with color #047812.

Preview

Color preview on black background

This text has color #047812 on black background.


Color preview on white background

This text has color #047812 on white background.



Black color preview on #047812 background

This text has black color on #047812 background.


White color preview on #047812 background

This text has white color on #047812 background.