COLOR #05021A

HEX: #05021A RGB: (5,2,26)

Color info

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

RGB color model

#05021A color RGB value is (5,2,26).

RGB: (5,2,26) (2%, 1%, 10%)

RGB channels and saturation

R 5 of 255 = 2%
G 2 of 255 = 1%
B 26 of 255 = 10%

5
2
26

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

Portions of RGB colors in percentages

R + G + B = 5 + 2 + 26 = 33 (100%)
R 5 of 33 ~ 15.15%
G 2 of 33 ~ 6.06%
B 26 of 33 ~ 78.79'%

%15.15
%78.79

CMYK color model

#05021A color CMYK value is (81,92,0,90).

  • cyan value is 80.77%
  • magenta value is 92.31%
  • yellow value is 0.00%
  • key color value is 89.80%

CMYK: (81,92,0,90)
C81M92Y0K90 (81%, 92%, 0%, 90%)
(0.81 / 0.92 / 0.00 / 0.90)

CMYK percentages

%80.77
%92.31
%0
%89.8

Codes

Color #05021A in popluar color models

05 02 1A
RGB 5 2 26
HSL 248° 85.71% 5.49%
HSB/HSV 248° 92.31% 10.20%
CMYK 80.77% 92.31% 0.00%
89.80%

Color #05021A in popluar number systems.

HEX 05 02 1A
Decimal 5 2 26
Binary 101 10 11010
Octal 5 2 32

Shades and tints

Shades of #05021A

#05021A
(5,2,26)
#050218
(5,2,24)
#050216
(5,2,22)
#050214
(5,2,20)
#050212
(5,2,18)
#050210
(5,2,16)
#05020E
(5,2,14)
#05020C
(5,2,12)
#05020A
(5,2,10)
#050208
(5,2,8)
#050206
(5,2,6)
#000000
(0,0,0)

Tints of #05021A

#05021A
(5,2,26)
#1B192E
(27,25,46)
#313042
(49,48,66)
#474756
(71,71,86)
#5D5E6A
(93,94,106)
#73757E
(115,117,126)
#898C92
(137,140,146)
#9FA3A6
(159,163,166)
#B5BABA
(181,186,186)
#CBD1CE
(203,209,206)
#E1E8E2
(225,232,226)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #05021A; }

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

This text font color is #05021A.

Background Color

.myBgColor { background-color: #05021A; }

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

This div background color is #05021A.

Border color

.myBorderColor { border: 1px solid #05021A; }

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

This div border color is #05021A.

Opacity

.myOpacity80 { color: #05021A; opacity: 0.8; }

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

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

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

This text has shadow with #05021A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #05021A.

Preview

Color preview on black background

This text has color #05021A on black background.


Color preview on white background

This text has color #05021A on white background.


Black color preview on #05021A background

This text has black color on #05021A background.


White color preview on #05021A background

This text has white color on #05021A background.


Related colors

Complementary color

Complementary color for #hex is #FAFDE5.


I love getcolorcode.com

Triadic colors

1 #1A0502 and #021A05 with #05021A are triadic colors.

2 #1A0205 and #02051A with #05021A are triadic colors.