COLOR #004242

HEX: #004242
RGB: (0,66,66)

Color info

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

RGB color model

#004242 color RGB value is (0,66,66).

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

RGB channels and saturation

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

0
66
66

R + G + B ~ 17%. #004242 is dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 66 + 66 = 132 (100%)
R 0 of 132 ~ 0%
G 66 of 132 ~ 50%
B 66 of 132 ~ 50%

%50
%50

CMYK color model

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

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

CMYK percentages

%100
%0
%0
%74.12

Codes

Color #004242 in popluar color models

004242
RGB06666
HSL180°100.00%12.94%
HSB/HSV180°100.00%25.88%
CMYK100.00%0.00%0.00%
74.12%

Color #004242 in popluar number systems.

HEX004242
Decimal06666
Binary010000101000010
Octal0102102

Shades and tints

Shades of #004242

#004242
(0,66,66)
#003C3C
(0,60,60)
#003636
(0,54,54)
#003030
(0,48,48)
#002A2A
(0,42,42)
#002424
(0,36,36)
#001E1E
(0,30,30)
#001818
(0,24,24)
#001212
(0,18,18)
#000C0C
(0,12,12)
#000606
(0,6,6)
#000000
(0,0,0)

Tints of #004242

#004242
(0,66,66)
#175353
(23,83,83)
#2E6464
(46,100,100)
#457575
(69,117,117)
#5C8686
(92,134,134)
#739797
(115,151,151)
#8AA8A8
(138,168,168)
#A1B9B9
(161,185,185)
#B8CACA
(184,202,202)
#CFDBDB
(207,219,219)
#E6ECEC
(230,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #004242; }

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

This text font color is #004242.


Background Color

.myBgColor { background-color: #004242; }

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

This div background color is #004242.


Border color

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

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

This div border color is #004242.


Opacity

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

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

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

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

This text has shadow with #004242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #004242 on black background.


Color preview on white background

This text has color #004242 on white background.



Black color preview on #004242 background

This text has black color on #004242 background.


White color preview on #004242 background

This text has white color on #004242 background.