COLOR #402E1A

HEX: #402E1A
RGB: (64,46,26)

Color info

#402E1A contains red, green and blue colors in about the same proportion. Web safe color of #402E1A is #333300 (or #330).

RGB color model

#402E1A color RGB value is (64,46,26).

  • red value is 64;
  • green value is 46;
  • blue value is 26.
RGB:
(64,46,26)
(25%,18%,10%)

RGB channels and saturation

R 64 of 255 = 25%
G 46 of 255 = 18%
B 26 of 255 = 10%

64
46
26

R + G + B ~ 18%. #402E1A is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 46 + 26 = 136 (100%)
R 64 of 136 ~ 47.06%
G 46 of 136 ~ 33.82%
B 26 of 136 ~ 19.12%

%47.06
%33.82
%19.12

CMYK color model

#402E1A color CMYK value is (0,28,59,75).

  • cyan value is 0.00%
  • magenta value is 28.13%
  • yellow value is 59.38%
  • key color value is 74.90%
CMYK:
(0,28,59,75)
C0M28Y59K75 
(0%,28%,59%,75%)
(0.00/0.28/0.59/0.75)	

CMYK percentages

%0
%28.13
%59.38
%74.9

Codes

Color #402E1A in popluar color models

402E1A
RGB644626
HSL32°42.22%17.65%
HSB/HSV32°59.38%25.10%
CMYK0.00%28.13%59.38%
74.90%

Color #402E1A in popluar number systems.

HEX402E1A
Decimal644626
Binary100000010111011010
Octal1005632

Shades and tints

Shades of #402E1A

#402E1A
(64,46,26)
#3B2A18
(59,42,24)
#362616
(54,38,22)
#312214
(49,34,20)
#2C1E12
(44,30,18)
#271A10
(39,26,16)
#22160E
(34,22,14)
#1D120C
(29,18,12)
#180E0A
(24,14,10)
#130A08
(19,10,8)
#0E0606
(14,6,6)
#000000
(0,0,0)

Tints of #402E1A

#402E1A
(64,46,26)
#51412E
(81,65,46)
#625442
(98,84,66)
#736756
(115,103,86)
#847A6A
(132,122,106)
#958D7E
(149,141,126)
#A6A092
(166,160,146)
#B7B3A6
(183,179,166)
#C8C6BA
(200,198,186)
#D9D9CE
(217,217,206)
#EAECE2
(234,236,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402E1A color. Also use rgb(64,46,26) instead hex code.

Text Font Color

.myTextColor { color: #402E1A; }

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

This text font color is #402E1A.


Background Color

.myBgColor { background-color: #402E1A; }

<div style="background-color:#402E1A">Inner text</div>

This div background color is #402E1A.


Border color

.myBorderColor { border: 1px solid #402E1A; }

<div style="border:3px solid #402E1A">Div</div>

This div border color is #402E1A.


Opacity

.myOpacity80 { color: #402E1A; opacity: 0.8; }

<p style="color:#402E1A;opacity:0.8;">80%</p>

Text with #402E1A 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 #402E1A;}

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

This text has shadow with #402E1A color.

.textShadow {text-shadow: 3px 3px 1px #402E1A, 3px 3px 1px red;}

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

This text has shadow with #402E1A primary color and red secondary color.


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

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

This text has shadow with #402E1A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402E1A on black background.


Color preview on white background

This text has color #402E1A on white background.



Black color preview on #402E1A background

This text has black color on #402E1A background.


White color preview on #402E1A background

This text has white color on #402E1A background.