COLOR #051502

HEX: #051502 RGB: (5,21,2)

Color info

#051502 contains red, green and blue colors in about the same proportion. Web safe color of #051502 is #000000 (or #000).

RGB color model

#051502 color RGB value is (5,21,2).

RGB: (5,21,2) (2%, 8%, 1%)

RGB channels and saturation

R 5 of 255 = 2%
G 21 of 255 = 8%
B 2 of 255 = 1%

5
21
2

R + G + B ~ 4%. #051502 is dark color.

Portions of RGB colors in percentages

R + G + B = 5 + 21 + 2 = 28 (100%)
R 5 of 28 ~ 17.86%
G 21 of 28 ~ 75%
B 2 of 28 ~ 7.14'%

%17.86
%75

CMYK color model

#051502 color CMYK value is (76,0,90,92).

  • cyan value is 76.19%
  • magenta value is 0.00%
  • yellow value is 90.48%
  • key color value is 91.76%

CMYK: (76,0,90,92)
C76M0Y90K92 (76%, 0%, 90%, 92%)
(0.76 / 0.00 / 0.90 / 0.92)

CMYK percentages

%76.19
%0
%90.48
%91.76

Codes

Color #051502 in popluar color models

05 15 02
RGB 5 21 2
HSL 111° 82.61% 4.51%
HSB/HSV 111° 90.48% 8.24%
CMYK 76.19% 0.00% 90.48%
91.76%

Color #051502 in popluar number systems.

HEX 05 15 02
Decimal 5 21 2
Binary 101 10101 10
Octal 5 25 2

Shades and tints

Shades of #051502

#051502
(5,21,2)
#051402
(5,20,2)
#051302
(5,19,2)
#051202
(5,18,2)
#051102
(5,17,2)
#051002
(5,16,2)
#050F02
(5,15,2)
#050E02
(5,14,2)
#050D02
(5,13,2)
#050C02
(5,12,2)
#050B02
(5,11,2)
#000000
(0,0,0)

Tints of #051502

#051502
(5,21,2)
#1B2A19
(27,42,25)
#313F30
(49,63,48)
#475447
(71,84,71)
#5D695E
(93,105,94)
#737E75
(115,126,117)
#89938C
(137,147,140)
#9FA8A3
(159,168,163)
#B5BDBA
(181,189,186)
#CBD2D1
(203,210,209)
#E1E7E8
(225,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #051502; }

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

This text font color is #051502.

Background Color

.myBgColor { background-color: #051502; }

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

This div background color is #051502.

Border color

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

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

This div border color is #051502.

Opacity

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

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

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

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

This text has shadow with #051502 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #051502.

Preview

Color preview on black background

This text has color #051502 on black background.


Color preview on white background

This text has color #051502 on white background.


Black color preview on #051502 background

This text has black color on #051502 background.


White color preview on #051502 background

This text has white color on #051502 background.


Related colors

Complementary color

Complementary color for #hex is #FAEAFD.


I love getcolorcode.com

Triadic colors

1 #020515 and #150205 with #051502 are triadic colors.

2 #021505 and #150502 with #051502 are triadic colors.