COLOR #42404C

HEX: #42404C RGB: (66,64,76)

Color info

#42404C contains red, green and blue colors in about the same proportion. Web safe color of #42404C is #333333 (or #333).

RGB color model

#42404C color RGB value is (66,64,76).

RGB: (66,64,76) (26%, 25%, 30%)

RGB channels and saturation

R 66 of 255 = 26%
G 64 of 255 = 25%
B 76 of 255 = 30%

66
64
76

R + G + B ~ 27%. #42404C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 64 + 76 = 206 (100%)
R 66 of 206 ~ 32.04%
G 64 of 206 ~ 31.07%
B 76 of 206 ~ 36.89'%

%32.04
%31.07
%36.89

CMYK color model

#42404C color CMYK value is (13,16,0,70).

  • cyan value is 13.16%
  • magenta value is 15.79%
  • yellow value is 0.00%
  • key color value is 70.20%

CMYK: (13,16,0,70)
C13M16Y0K70 (13%, 16%, 0%, 70%)
(0.13 / 0.16 / 0.00 / 0.70)

CMYK percentages

%13.16
%15.79
%0
%70.2

Codes

Color #42404C in popluar color models

42 40 4C
RGB 66 64 76
HSL 250° 8.57% 27.45%
HSB/HSV 250° 15.79% 29.80%
CMYK 13.16% 15.79% 0.00%
70.20%

Color #42404C in popluar number systems.

HEX 42 40 4C
Decimal 66 64 76
Binary 1000010 1000000 1001100
Octal 102 100 114

Shades and tints

Shades of #42404C

#42404C
(66,64,76)
#3C3B46
(60,59,70)
#363640
(54,54,64)
#30313A
(48,49,58)
#2A2C34
(42,44,52)
#24272E
(36,39,46)
#1E2228
(30,34,40)
#181D22
(24,29,34)
#12181C
(18,24,28)
#0C1316
(12,19,22)
#060E10
(6,14,16)
#000000
(0,0,0)

Tints of #42404C

#42404C
(66,64,76)
#53515C
(83,81,92)
#64626C
(100,98,108)
#75737C
(117,115,124)
#86848C
(134,132,140)
#97959C
(151,149,156)
#A8A6AC
(168,166,172)
#B9B7BC
(185,183,188)
#CAC8CC
(202,200,204)
#DBD9DC
(219,217,220)
#ECEAEC
(236,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42404C; }

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

This text font color is #42404C.

Background Color

.myBgColor { background-color: #42404C; }

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

This div background color is #42404C.

Border color

.myBorderColor { border: 1px solid #42404C; }

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

This div border color is #42404C.

Opacity

.myOpacity80 { color: #42404C; opacity: 0.8; }

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

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

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

This text has shadow with #42404C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42404C.

Preview

Color preview on black background

This text has color #42404C on black background.


Color preview on white background

This text has color #42404C on white background.


Black color preview on #42404C background

This text has black color on #42404C background.


White color preview on #42404C background

This text has white color on #42404C background.


Related colors

Complementary color

Complementary color for #hex is #BDBFB3.


I love getcolorcode.com

Triadic colors

1 #4C4240 and #404C42 with #42404C are triadic colors.

2 #4C4042 and #40424C with #42404C are triadic colors.