COLOR #40422D

HEX: #40422D RGB: (64,66,45)

Color info

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

RGB color model

#40422D color RGB value is (64,66,45).

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

RGB channels and saturation

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

64
66
45

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

Portions of RGB colors in percentages

R + G + B = 64 + 66 + 45 = 175 (100%)
R 64 of 175 ~ 36.57%
G 66 of 175 ~ 37.71%
B 45 of 175 ~ 25.71'%

%36.57
%37.71
%25.71

CMYK color model

#40422D color CMYK value is (3,0,32,74).

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

CMYK: (3,0,32,74)
C3M0Y32K74 (3%, 0%, 32%, 74%)
(0.03 / 0.00 / 0.32 / 0.74)

CMYK percentages

%3.03
%0
%31.82
%74.12

Codes

Color #40422D in popluar color models

40 42 2D
RGB 64 66 45
HSL 66° 18.92% 21.76%
HSB/HSV 66° 31.82% 25.88%
CMYK 3.03% 0.00% 31.82%
74.12%

Color #40422D in popluar number systems.

HEX 40 42 2D
Decimal 64 66 45
Binary 1000000 1000010 101101
Octal 100 102 55

Shades and tints

Shades of #40422D

#40422D
(64,66,45)
#3B3C29
(59,60,41)
#363625
(54,54,37)
#313021
(49,48,33)
#2C2A1D
(44,42,29)
#272419
(39,36,25)
#221E15
(34,30,21)
#1D1811
(29,24,17)
#18120D
(24,18,13)
#130C09
(19,12,9)
#0E0605
(14,6,5)
#000000
(0,0,0)

Tints of #40422D

#40422D
(64,66,45)
#515340
(81,83,64)
#626453
(98,100,83)
#737566
(115,117,102)
#848679
(132,134,121)
#95978C
(149,151,140)
#A6A89F
(166,168,159)
#B7B9B2
(183,185,178)
#C8CAC5
(200,202,197)
#D9DBD8
(217,219,216)
#EAECEB
(234,236,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40422D; }

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

This text font color is #40422D.

Background Color

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

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

This div background color is #40422D.

Border color

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

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

This div border color is #40422D.

Opacity

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

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

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

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

This text has shadow with #40422D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40422D.

Preview

Color preview on black background

This text has color #40422D on black background.


Color preview on white background

This text has color #40422D on white background.


Black color preview on #40422D background

This text has black color on #40422D background.


White color preview on #40422D background

This text has white color on #40422D background.


Related colors

Complementary color

Complementary color for #hex is #BFBDD2.


I love getcolorcode.com

Triadic colors

1 #2D4042 and #422D40 with #40422D are triadic colors.

2 #2D4240 and #42402D with #40422D are triadic colors.