COLOR #402E27

HEX: #402E27
RGB: (64,46,39)

Color info

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

RGB color model

#402E27 color RGB value is (64,46,39).

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

RGB channels and saturation

R 64 of 255 = 25%
G 46 of 255 = 18%
B 39 of 255 = 15%

64
46
39

R + G + B ~ 19%. #402E27 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 46 + 39 = 149 (100%)
R 64 of 149 ~ 42.95%
G 46 of 149 ~ 30.87%
B 39 of 149 ~ 26.17%

%42.95
%30.87
%26.17

CMYK color model

#402E27 color CMYK value is (0,28,39,75).

  • cyan value is 0.00%
  • magenta value is 28.13%
  • yellow value is 39.06%
  • key color value is 74.90%
CMYK:
(0,28,39,75)
C0M28Y39K75 
(0%,28%,39%,75%)
(0.00/0.28/0.39/0.75)	

CMYK percentages

%0
%28.13
%39.06
%74.9

Codes

Color #402E27 in popluar color models

402E27
RGB644639
HSL17°24.27%20.20%
HSB/HSV17°39.06%25.10%
CMYK0.00%28.13%39.06%
74.90%

Color #402E27 in popluar number systems.

HEX402E27
Decimal644639
Binary1000000101110100111
Octal1005647

Shades and tints

Shades of #402E27

#402E27
(64,46,39)
#3B2A24
(59,42,36)
#362621
(54,38,33)
#31221E
(49,34,30)
#2C1E1B
(44,30,27)
#271A18
(39,26,24)
#221615
(34,22,21)
#1D1212
(29,18,18)
#180E0F
(24,14,15)
#130A0C
(19,10,12)
#0E0609
(14,6,9)
#000000
(0,0,0)

Tints of #402E27

#402E27
(64,46,39)
#51413A
(81,65,58)
#62544D
(98,84,77)
#736760
(115,103,96)
#847A73
(132,122,115)
#958D86
(149,141,134)
#A6A099
(166,160,153)
#B7B3AC
(183,179,172)
#C8C6BF
(200,198,191)
#D9D9D2
(217,217,210)
#EAECE5
(234,236,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402E27; }

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

This text font color is #402E27.


Background Color

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

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

This div background color is #402E27.


Border color

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

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

This div border color is #402E27.


Opacity

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

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

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

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

This text has shadow with #402E27 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402E27 on black background.


Color preview on white background

This text has color #402E27 on white background.



Black color preview on #402E27 background

This text has black color on #402E27 background.


White color preview on #402E27 background

This text has white color on #402E27 background.