COLOR #42474F

HEX: #42474F
RGB: (66,71,79)

Color info

#42474F contains red, green and blue colors in about the same proportion. Web safe color of #42474F is #333366 (or #336).

RGB color model

#42474F color RGB value is (66,71,79).

  • red value is 66;
  • green value is 71;
  • blue value is 79.
RGB:
(66,71,79)
(26%,28%,31%)

RGB channels and saturation

R 66 of 255 = 26%
G 71 of 255 = 28%
B 79 of 255 = 31%

66
71
79

R + G + B ~ 28%. #42474F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 71 + 79 = 216 (100%)
R 66 of 216 ~ 30.56%
G 71 of 216 ~ 32.87%
B 79 of 216 ~ 36.57%

%30.56
%32.87
%36.57

CMYK color model

#42474F color CMYK value is (16,10,0,69).

  • cyan value is 16.46%
  • magenta value is 10.13%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(16,10,0,69)
C16M10Y0K69 
(16%,10%,0%,69%)
(0.16/0.10/0.00/0.69)	

CMYK percentages

%16.46
%10.13
%0
%69.02

Codes

Color #42474F in popluar color models

42474F
RGB667179
HSL217°8.97%28.43%
HSB/HSV217°16.46%30.98%
CMYK16.46%10.13%0.00%
69.02%

Color #42474F in popluar number systems.

HEX42474F
Decimal667179
Binary100001010001111001111
Octal102107117

Shades and tints

Shades of #42474F

#42474F
(66,71,79)
#3C4148
(60,65,72)
#363B41
(54,59,65)
#30353A
(48,53,58)
#2A2F33
(42,47,51)
#24292C
(36,41,44)
#1E2325
(30,35,37)
#181D1E
(24,29,30)
#121717
(18,23,23)
#0C1110
(12,17,16)
#060B09
(6,11,9)
#000000
(0,0,0)

Tints of #42474F

#42474F
(66,71,79)
#53575F
(83,87,95)
#64676F
(100,103,111)
#75777F
(117,119,127)
#86878F
(134,135,143)
#97979F
(151,151,159)
#A8A7AF
(168,167,175)
#B9B7BF
(185,183,191)
#CAC7CF
(202,199,207)
#DBD7DF
(219,215,223)
#ECE7EF
(236,231,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42474F color. Also use rgb(66,71,79) instead hex code.

Text Font Color

.myTextColor { color: #42474F; }

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

This text font color is #42474F.


Background Color

.myBgColor { background-color: #42474F; }

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

This div background color is #42474F.


Border color

.myBorderColor { border: 1px solid #42474F; }

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

This div border color is #42474F.


Opacity

.myOpacity80 { color: #42474F; opacity: 0.8; }

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

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

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

This text has shadow with #42474F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42474F on black background.


Color preview on white background

This text has color #42474F on white background.



Black color preview on #42474F background

This text has black color on #42474F background.


White color preview on #42474F background

This text has white color on #42474F background.