COLOR #002842

HEX: #002842 RGB: (0,40,66)

Color info

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

RGB color model

#002842 color RGB value is (0,40,66).

RGB: (0,40,66) (0%, 16%, 26%)

RGB channels and saturation

R 0 of 255 = 0%
G 40 of 255 = 16%
B 66 of 255 = 26%

0
40
66

R + G + B ~ 14%. #002842 is dark color.

Portions of RGB colors in percentages

R + G + B = 0 + 40 + 66 = 106 (100%)
R 0 of 106 ~ 0%
G 40 of 106 ~ 37.74%
B 66 of 106 ~ 62.26'%

%37.74
%62.26

CMYK color model

#002842 color CMYK value is (100,39,0,74).

  • cyan value is 100.00%
  • magenta value is 39.39%
  • yellow value is 0.00%
  • key color value is 74.12%

CMYK: (100,39,0,74)
C100M39Y0K74 (100%, 39%, 0%, 74%)
(1.00 / 0.39 / 0.00 / 0.74)

CMYK percentages

%100
%39.39
%0
%74.12

Codes

Color #002842 in popluar color models

00 28 42
RGB 0 40 66
HSL 204° 100.00% 12.94%
HSB/HSV 204° 100.00% 25.88%
CMYK 100.00% 39.39% 0.00%
74.12%

Color #002842 in popluar number systems.

HEX 00 28 42
Decimal 0 40 66
Binary 0 101000 1000010
Octal 0 50 102

Shades and tints

Shades of #002842

#002842
(0,40,66)
#00253C
(0,37,60)
#002236
(0,34,54)
#001F30
(0,31,48)
#001C2A
(0,28,42)
#001924
(0,25,36)
#00161E
(0,22,30)
#001318
(0,19,24)
#001012
(0,16,18)
#000D0C
(0,13,12)
#000A06
(0,10,6)
#000000
(0,0,0)

Tints of #002842

#002842
(0,40,66)
#173B53
(23,59,83)
#2E4E64
(46,78,100)
#456175
(69,97,117)
#5C7486
(92,116,134)
#738797
(115,135,151)
#8A9AA8
(138,154,168)
#A1ADB9
(161,173,185)
#B8C0CA
(184,192,202)
#CFD3DB
(207,211,219)
#E6E6EC
(230,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #002842; }

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

This text font color is #002842.

Background Color

.myBgColor { background-color: #002842; }

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

This div background color is #002842.

Border color

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

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

This div border color is #002842.

Opacity

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

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

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

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

This text has shadow with #002842 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #002842.

Preview

Color preview on black background

This text has color #002842 on black background.


Color preview on white background

This text has color #002842 on white background.


Black color preview on #002842 background

This text has black color on #002842 background.


White color preview on #002842 background

This text has white color on #002842 background.


Related colors

Complementary color

Complementary color for #hex is #FFD7BD.


I love getcolorcode.com

Triadic colors

1 #420028 and #284200 with #002842 are triadic colors.

2 #422800 and #280042 with #002842 are triadic colors.