COLOR #004240

HEX: #004240 RGB: (0,66,64)

Color info

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

RGB color model

#004240 color RGB value is (0,66,64).

RGB: (0,66,64) (0%, 26%, 25%)

RGB channels and saturation

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

0
66
64

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

Portions of RGB colors in percentages

R + G + B = 0 + 66 + 64 = 130 (100%)
R 0 of 130 ~ 0%
G 66 of 130 ~ 50.77%
B 64 of 130 ~ 49.23'%

%50.77
%49.23

CMYK color model

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

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

CMYK: (100,0,3,74)
C100M0Y3K74 (100%, 0%, 3%, 74%)
(1.00 / 0.00 / 0.03 / 0.74)

CMYK percentages

%100
%0
%3.03
%74.12

Codes

Color #004240 in popluar color models

00 42 40
RGB 0 66 64
HSL 178° 100.00% 12.94%
HSB/HSV 178° 100.00% 25.88%
CMYK 100.00% 0.00% 3.03%
74.12%

Color #004240 in popluar number systems.

HEX 00 42 40
Decimal 0 66 64
Binary 0 1000010 1000000
Octal 0 102 100

Shades and tints

Shades of #004240

#004240
(0,66,64)
#003C3B
(0,60,59)
#003636
(0,54,54)
#003031
(0,48,49)
#002A2C
(0,42,44)
#002427
(0,36,39)
#001E22
(0,30,34)
#00181D
(0,24,29)
#001218
(0,18,24)
#000C13
(0,12,19)
#00060E
(0,6,14)
#000000
(0,0,0)

Tints of #004240

#004240
(0,66,64)
#175351
(23,83,81)
#2E6462
(46,100,98)
#457573
(69,117,115)
#5C8684
(92,134,132)
#739795
(115,151,149)
#8AA8A6
(138,168,166)
#A1B9B7
(161,185,183)
#B8CAC8
(184,202,200)
#CFDBD9
(207,219,217)
#E6ECEA
(230,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #004240; }

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

This text font color is #004240.

Background Color

.myBgColor { background-color: #004240; }

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

This div background color is #004240.

Border color

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

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

This div border color is #004240.

Opacity

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

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

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

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

This text has shadow with #004240 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #004240.

Preview

Color preview on black background

This text has color #004240 on black background.


Color preview on white background

This text has color #004240 on white background.


Black color preview on #004240 background

This text has black color on #004240 background.


White color preview on #004240 background

This text has white color on #004240 background.


Related colors

Complementary color

Complementary color for #hex is #FFBDBF.


I love getcolorcode.com

Triadic colors

1 #400042 and #424000 with #004240 are triadic colors.

2 #404200 and #420040 with #004240 are triadic colors.