COLOR #051F02

HEX: #051F02
RGB: (5,31,2)

Color info

#051F02 contains red, green and blue colors in about the same proportion. Web safe color of #051F02 is #003300 (or #030).

RGB color model

#051F02 color RGB value is (5,31,2).

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

RGB channels and saturation

R 5 of 255 = 2%
G 31 of 255 = 12%
B 2 of 255 = 1%

5
31
2

R + G + B ~ 5%. #051F02 is dark color.

Portions of RGB colors in percentages

R + G + B =
5 + 31 + 2 = 38 (100%)
R 5 of 38 ~ 13.16%
G 31 of 38 ~ 81.58%
B 2 of 38 ~ 5.26%

%13.16
%81.58

CMYK color model

#051F02 color CMYK value is (84,0,94,88).

  • cyan value is 83.87%
  • magenta value is 0.00%
  • yellow value is 93.55%
  • key color value is 87.84%
CMYK:
(84,0,94,88)
C84M0Y94K88 
(84%,0%,94%,88%)
(0.84/0.00/0.94/0.88)	

CMYK percentages

%83.87
%0
%93.55
%87.84

Codes

Color #051F02 in popluar color models

051F02
RGB5312
HSL114°87.88%6.47%
HSB/HSV114°93.55%12.16%
CMYK83.87%0.00%93.55%
87.84%

Color #051F02 in popluar number systems.

HEX051F02
Decimal5312
Binary1011111110
Octal5372

Shades and tints

Shades of #051F02

#051F02
(5,31,2)
#051D02
(5,29,2)
#051B02
(5,27,2)
#051902
(5,25,2)
#051702
(5,23,2)
#051502
(5,21,2)
#051302
(5,19,2)
#051102
(5,17,2)
#050F02
(5,15,2)
#050D02
(5,13,2)
#050B02
(5,11,2)
#000000
(0,0,0)

Tints of #051F02

#051F02
(5,31,2)
#1B3319
(27,51,25)
#314730
(49,71,48)
#475B47
(71,91,71)
#5D6F5E
(93,111,94)
#738375
(115,131,117)
#89978C
(137,151,140)
#9FABA3
(159,171,163)
#B5BFBA
(181,191,186)
#CBD3D1
(203,211,209)
#E1E7E8
(225,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #051F02; }

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

This text font color is #051F02.


Background Color

.myBgColor { background-color: #051F02; }

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

This div background color is #051F02.


Border color

.myBorderColor { border: 1px solid #051F02; }

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

This div border color is #051F02.


Opacity

.myOpacity80 { color: #051F02; opacity: 0.8; }

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

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

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

This text has shadow with #051F02 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #051F02 on black background.


Color preview on white background

This text has color #051F02 on white background.



Black color preview on #051F02 background

This text has black color on #051F02 background.


White color preview on #051F02 background

This text has white color on #051F02 background.