COLOR #40421E

HEX: #40421E
RGB: (64,66,30)

Color info

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

RGB color model

#40421E color RGB value is (64,66,30).

  • red value is 64;
  • green value is 66;
  • blue value is 30.
RGB:
(64,66,30)
(25%,26%,12%)

RGB channels and saturation

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

64
66
30

R + G + B ~ 21%. #40421E is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 66 + 30 = 160 (100%)
R 64 of 160 ~ 40%
G 66 of 160 ~ 41.25%
B 30 of 160 ~ 18.75%

%40
%41.25
%18.75

CMYK color model

#40421E color CMYK value is (3,0,55,74).

  • cyan value is 3.03%
  • magenta value is 0.00%
  • yellow value is 54.55%
  • key color value is 74.12%
CMYK:
(3,0,55,74)
C3M0Y55K74 
(3%,0%,55%,74%)
(0.03/0.00/0.55/0.74)	

CMYK percentages

%3.03
%0
%54.55
%74.12

Codes

Color #40421E in popluar color models

40421E
RGB646630
HSL63°37.50%18.82%
HSB/HSV63°54.55%25.88%
CMYK3.03%0.00%54.55%
74.12%

Color #40421E in popluar number systems.

HEX40421E
Decimal646630
Binary1000000100001011110
Octal10010236

Shades and tints

Shades of #40421E

#40421E
(64,66,30)
#3B3C1C
(59,60,28)
#36361A
(54,54,26)
#313018
(49,48,24)
#2C2A16
(44,42,22)
#272414
(39,36,20)
#221E12
(34,30,18)
#1D1810
(29,24,16)
#18120E
(24,18,14)
#130C0C
(19,12,12)
#0E060A
(14,6,10)
#000000
(0,0,0)

Tints of #40421E

#40421E
(64,66,30)
#515332
(81,83,50)
#626446
(98,100,70)
#73755A
(115,117,90)
#84866E
(132,134,110)
#959782
(149,151,130)
#A6A896
(166,168,150)
#B7B9AA
(183,185,170)
#C8CABE
(200,202,190)
#D9DBD2
(217,219,210)
#EAECE6
(234,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40421E; }

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

This text font color is #40421E.


Background Color

.myBgColor { background-color: #40421E; }

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

This div background color is #40421E.


Border color

.myBorderColor { border: 1px solid #40421E; }

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

This div border color is #40421E.


Opacity

.myOpacity80 { color: #40421E; opacity: 0.8; }

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

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

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

This text has shadow with #40421E color.

.textShadow {text-shadow: 3px 3px 1px #40421E, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40421E on black background.


Color preview on white background

This text has color #40421E on white background.



Black color preview on #40421E background

This text has black color on #40421E background.


White color preview on #40421E background

This text has white color on #40421E background.