COLOR #054902

HEX: #054902
RGB: (5,73,2)

Color info

#054902 contains mainly green color. Web safe color of #054902 is #003300 (or #030).

RGB color model

#054902 color RGB value is (5,73,2).

  • red value is 5;
  • green value is 73;
  • blue value is 2.
RGB:
(5,73,2)
(2%,29%,1%)

RGB channels and saturation

R 5 of 255 = 2%
G 73 of 255 = 29%
B 2 of 255 = 1%

5
73
2

R + G + B ~ 11%. #054902 is dark color.

Portions of RGB colors in percentages

R + G + B =
5 + 73 + 2 = 80 (100%)
R 5 of 80 ~ 6.25%
G 73 of 80 ~ 91.25%
B 2 of 80 ~ 2.5%

%91.25

CMYK color model

#054902 color CMYK value is (93,0,97,71).

  • cyan value is 93.15%
  • magenta value is 0.00%
  • yellow value is 97.26%
  • key color value is 71.37%
CMYK:
(93,0,97,71)
C93M0Y97K71 
(93%,0%,97%,71%)
(0.93/0.00/0.97/0.71)	

CMYK percentages

%93.15
%0
%97.26
%71.37

Codes

Color #054902 in popluar color models

054902
RGB5732
HSL117°94.67%14.71%
HSB/HSV117°97.26%28.63%
CMYK93.15%0.00%97.26%
71.37%

Color #054902 in popluar number systems.

HEX054902
Decimal5732
Binary101100100110
Octal51112

Shades and tints

Shades of #054902

#054902
(5,73,2)
#054302
(5,67,2)
#053D02
(5,61,2)
#053702
(5,55,2)
#053102
(5,49,2)
#052B02
(5,43,2)
#052502
(5,37,2)
#051F02
(5,31,2)
#051902
(5,25,2)
#051302
(5,19,2)
#050D02
(5,13,2)
#000000
(0,0,0)

Tints of #054902

#054902
(5,73,2)
#1B5919
(27,89,25)
#316930
(49,105,48)
#477947
(71,121,71)
#5D895E
(93,137,94)
#739975
(115,153,117)
#89A98C
(137,169,140)
#9FB9A3
(159,185,163)
#B5C9BA
(181,201,186)
#CBD9D1
(203,217,209)
#E1E9E8
(225,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #054902 color. Also use rgb(5,73,2) instead hex code.

Text Font Color

.myTextColor { color: #054902; }

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

This text font color is #054902.


Background Color

.myBgColor { background-color: #054902; }

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

This div background color is #054902.


Border color

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

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

This div border color is #054902.


Opacity

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

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

Text with #054902 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 #054902;}

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

This text has shadow with #054902 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #054902 on black background.


Color preview on white background

This text has color #054902 on white background.



Black color preview on #054902 background

This text has black color on #054902 background.


White color preview on #054902 background

This text has white color on #054902 background.