COLOR #002042

HEX: #002042
RGB: (0,32,66)

Color info

#002042 contains only green and blue colors. Web safe color of #002042 is #003333 (or #033).

RGB color model

#002042 color RGB value is (0,32,66).

  • red value is 0;
  • green value is 32;
  • blue value is 66.
RGB:
(0,32,66)
(0%,13%,26%)

RGB channels and saturation

R 0 of 255 = 0%
G 32 of 255 = 13%
B 66 of 255 = 26%

0
32
66

R + G + B ~ 13%. #002042 is dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 32 + 66 = 98 (100%)
R 0 of 98 ~ 0%
G 32 of 98 ~ 32.65%
B 66 of 98 ~ 67.35%

%32.65
%67.35

CMYK color model

#002042 color CMYK value is (100,52,0,74).

  • cyan value is 100.00%
  • magenta value is 51.52%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(100,52,0,74)
C100M52Y0K74 
(100%,52%,0%,74%)
(1.00/0.52/0.00/0.74)	

CMYK percentages

%100
%51.52
%0
%74.12

Codes

Color #002042 in popluar color models

002042
RGB03266
HSL211°100.00%12.94%
HSB/HSV211°100.00%25.88%
CMYK100.00%51.52%0.00%
74.12%

Color #002042 in popluar number systems.

HEX002042
Decimal03266
Binary01000001000010
Octal040102

Shades and tints

Shades of #002042

#002042
(0,32,66)
#001E3C
(0,30,60)
#001C36
(0,28,54)
#001A30
(0,26,48)
#00182A
(0,24,42)
#001624
(0,22,36)
#00141E
(0,20,30)
#001218
(0,18,24)
#001012
(0,16,18)
#000E0C
(0,14,12)
#000C06
(0,12,6)
#000000
(0,0,0)

Tints of #002042

#002042
(0,32,66)
#173453
(23,52,83)
#2E4864
(46,72,100)
#455C75
(69,92,117)
#5C7086
(92,112,134)
#738497
(115,132,151)
#8A98A8
(138,152,168)
#A1ACB9
(161,172,185)
#B8C0CA
(184,192,202)
#CFD4DB
(207,212,219)
#E6E8EC
(230,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #002042 color. Also use rgb(0,32,66) instead hex code.

Text Font Color

.myTextColor { color: #002042; }

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

This text font color is #002042.


Background Color

.myBgColor { background-color: #002042; }

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

This div background color is #002042.


Border color

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

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

This div border color is #002042.


Opacity

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

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

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

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

This text has shadow with #002042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #002042 on black background.


Color preview on white background

This text has color #002042 on white background.



Black color preview on #002042 background

This text has black color on #002042 background.


White color preview on #002042 background

This text has white color on #002042 background.