COLOR #40422F

HEX: #40422F RGB: (64,66,47)

Color info

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

RGB color model

#40422F color RGB value is (64,66,47).

RGB: (64,66,47) (25%, 26%, 18%)

RGB channels and saturation

R 64 of 255 = 25%
G 66 of 255 = 26%
B 47 of 255 = 18%

64
66
47

R + G + B ~ 23%. #40422F is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 66 + 47 = 177 (100%)
R 64 of 177 ~ 36.16%
G 66 of 177 ~ 37.29%
B 47 of 177 ~ 26.55'%

%36.16
%37.29
%26.55

CMYK color model

#40422F color CMYK value is (3,0,29,74).

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

CMYK: (3,0,29,74)
C3M0Y29K74 (3%, 0%, 29%, 74%)
(0.03 / 0.00 / 0.29 / 0.74)

CMYK percentages

%3.03
%0
%28.79
%74.12

Codes

Color #40422F in popluar color models

40 42 2F
RGB 64 66 47
HSL 66° 16.81% 22.16%
HSB/HSV 66° 28.79% 25.88%
CMYK 3.03% 0.00% 28.79%
74.12%

Color #40422F in popluar number systems.

HEX 40 42 2F
Decimal 64 66 47
Binary 1000000 1000010 101111
Octal 100 102 57

Shades and tints

Shades of #40422F

#40422F
(64,66,47)
#3B3C2B
(59,60,43)
#363627
(54,54,39)
#313023
(49,48,35)
#2C2A1F
(44,42,31)
#27241B
(39,36,27)
#221E17
(34,30,23)
#1D1813
(29,24,19)
#18120F
(24,18,15)
#130C0B
(19,12,11)
#0E0607
(14,6,7)
#000000
(0,0,0)

Tints of #40422F

#40422F
(64,66,47)
#515341
(81,83,65)
#626453
(98,100,83)
#737565
(115,117,101)
#848677
(132,134,119)
#959789
(149,151,137)
#A6A89B
(166,168,155)
#B7B9AD
(183,185,173)
#C8CABF
(200,202,191)
#D9DBD1
(217,219,209)
#EAECE3
(234,236,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40422F; }

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

This text font color is #40422F.

Background Color

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

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

This div background color is #40422F.

Border color

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

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

This div border color is #40422F.

Opacity

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

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

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

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

This text has shadow with #40422F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40422F.

Preview

Color preview on black background

This text has color #40422F on black background.


Color preview on white background

This text has color #40422F on white background.


Black color preview on #40422F background

This text has black color on #40422F background.


White color preview on #40422F background

This text has white color on #40422F background.


Related colors

Complementary color

Complementary color for #hex is #BFBDD0.


I love getcolorcode.com

Triadic colors

1 #2F4042 and #422F40 with #40422F are triadic colors.

2 #2F4240 and #42402F with #40422F are triadic colors.