COLOR #00021F

HEX: #00021F RGB: (0,2,31)

Color info

#00021F contains only green and blue colors. Web safe color of #00021F is #000033 (or #003).

RGB color model

#00021F color RGB value is (0,2,31).

RGB: (0,2,31) (0%, 1%, 12%)

RGB channels and saturation

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

0
2
31

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

Portions of RGB colors in percentages

R + G + B = 0 + 2 + 31 = 33 (100%)
R 0 of 33 ~ 0%
G 2 of 33 ~ 6.06%
B 31 of 33 ~ 93.94'%

%93.94

CMYK color model

#00021F color CMYK value is (100,94,0,88).

  • cyan value is 100.00%
  • magenta value is 93.55%
  • yellow value is 0.00%
  • key color value is 87.84%

CMYK: (100,94,0,88)
C100M94Y0K88 (100%, 94%, 0%, 88%)
(1.00 / 0.94 / 0.00 / 0.88)

CMYK percentages

%100
%93.55
%0
%87.84

Codes

Color #00021F in popluar color models

00 02 1F
RGB 0 2 31
HSL 236° 100.00% 6.08%
HSB/HSV 236° 100.00% 12.16%
CMYK 100.00% 93.55% 0.00%
87.84%

Color #00021F in popluar number systems.

HEX 00 02 1F
Decimal 0 2 31
Binary 0 10 11111
Octal 0 2 37

Shades and tints

Shades of #00021F

#00021F
(0,2,31)
#00021D
(0,2,29)
#00021B
(0,2,27)
#000219
(0,2,25)
#000217
(0,2,23)
#000215
(0,2,21)
#000213
(0,2,19)
#000211
(0,2,17)
#00020F
(0,2,15)
#00020D
(0,2,13)
#00020B
(0,2,11)
#000000
(0,0,0)

Tints of #00021F

#00021F
(0,2,31)
#171933
(23,25,51)
#2E3047
(46,48,71)
#45475B
(69,71,91)
#5C5E6F
(92,94,111)
#737583
(115,117,131)
#8A8C97
(138,140,151)
#A1A3AB
(161,163,171)
#B8BABF
(184,186,191)
#CFD1D3
(207,209,211)
#E6E8E7
(230,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #00021F color. Also use rgb(0,2,31) instead hex code.

Text Font Color

.myTextColor { color: #00021F; }

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

This text font color is #00021F.

Background Color

.myBgColor { background-color: #00021F; }

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

This div background color is #00021F.

Border color

.myBorderColor { border: 1px solid #00021F; }

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

This div border color is #00021F.

Opacity

.myOpacity80 { color: #00021F; opacity: 0.8; }

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

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

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

This text has shadow with #00021F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #00021F.

Preview

Color preview on black background

This text has color #00021F on black background.


Color preview on white background

This text has color #00021F on white background.


Black color preview on #00021F background

This text has black color on #00021F background.


White color preview on #00021F background

This text has white color on #00021F background.


Related colors

Complementary color

Complementary color for #hex is #FFFDE0.


I love getcolorcode.com

Triadic colors

1 #1F0002 and #021F00 with #00021F are triadic colors.

2 #1F0200 and #02001F with #00021F are triadic colors.