COLOR #020E2A

HEX: #020E2A
RGB: (2,14,42)

Color info

#020E2A contains red, green and blue colors in about the same proportion. Web safe color of #020E2A is #000033 (or #003).

RGB color model

#020E2A color RGB value is (2,14,42).

  • red value is 2;
  • green value is 14;
  • blue value is 42.
RGB:
(2,14,42)
(1%,5%,16%)

RGB channels and saturation

R 2 of 255 = 1%
G 14 of 255 = 5%
B 42 of 255 = 16%

2
14
42

R + G + B ~ 7%. #020E2A is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 14 + 42 = 58 (100%)
R 2 of 58 ~ 3.45%
G 14 of 58 ~ 24.14%
B 42 of 58 ~ 72.41%

%24.14
%72.41

CMYK color model

#020E2A color CMYK value is (95,67,0,84).

  • cyan value is 95.24%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 83.53%
CMYK:
(95,67,0,84)
C95M67Y0K84 
(95%,67%,0%,84%)
(0.95/0.67/0.00/0.84)	

CMYK percentages

%95.24
%66.67
%0
%83.53

Codes

Color #020E2A in popluar color models

020E2A
RGB21442
HSL222°90.91%8.63%
HSB/HSV222°95.24%16.47%
CMYK95.24%66.67%0.00%
83.53%

Color #020E2A in popluar number systems.

HEX020E2A
Decimal21442
Binary101110101010
Octal21652

Shades and tints

Shades of #020E2A

#020E2A
(2,14,42)
#020D27
(2,13,39)
#020C24
(2,12,36)
#020B21
(2,11,33)
#020A1E
(2,10,30)
#02091B
(2,9,27)
#020818
(2,8,24)
#020715
(2,7,21)
#020612
(2,6,18)
#02050F
(2,5,15)
#02040C
(2,4,12)
#000000
(0,0,0)

Tints of #020E2A

#020E2A
(2,14,42)
#19233D
(25,35,61)
#303850
(48,56,80)
#474D63
(71,77,99)
#5E6276
(94,98,118)
#757789
(117,119,137)
#8C8C9C
(140,140,156)
#A3A1AF
(163,161,175)
#BAB6C2
(186,182,194)
#D1CBD5
(209,203,213)
#E8E0E8
(232,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #020E2A color. Also use rgb(2,14,42) instead hex code.

Text Font Color

.myTextColor { color: #020E2A; }

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

This text font color is #020E2A.


Background Color

.myBgColor { background-color: #020E2A; }

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

This div background color is #020E2A.


Border color

.myBorderColor { border: 1px solid #020E2A; }

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

This div border color is #020E2A.


Opacity

.myOpacity80 { color: #020E2A; opacity: 0.8; }

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

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

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

This text has shadow with #020E2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #020E2A on black background.


Color preview on white background

This text has color #020E2A on white background.



Black color preview on #020E2A background

This text has black color on #020E2A background.


White color preview on #020E2A background

This text has white color on #020E2A background.