COLOR #402D31

HEX: #402D31
RGB: (64,45,49)

Color info

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

RGB color model

#402D31 color RGB value is (64,45,49).

  • red value is 64;
  • green value is 45;
  • blue value is 49.
RGB:
(64,45,49)
(25%,18%,19%)

RGB channels and saturation

R 64 of 255 = 25%
G 45 of 255 = 18%
B 49 of 255 = 19%

64
45
49

R + G + B ~ 21%. #402D31 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 45 + 49 = 158 (100%)
R 64 of 158 ~ 40.51%
G 45 of 158 ~ 28.48%
B 49 of 158 ~ 31.01%

%40.51
%28.48
%31.01

CMYK color model

#402D31 color CMYK value is (0,30,23,75).

  • cyan value is 0.00%
  • magenta value is 29.69%
  • yellow value is 23.44%
  • key color value is 74.90%
CMYK:
(0,30,23,75)
C0M30Y23K75 
(0%,30%,23%,75%)
(0.00/0.30/0.23/0.75)	

CMYK percentages

%0
%29.69
%23.44
%74.9

Codes

Color #402D31 in popluar color models

402D31
RGB644549
HSL347°17.43%21.37%
HSB/HSV347°29.69%25.10%
CMYK0.00%29.69%23.44%
74.90%

Color #402D31 in popluar number systems.

HEX402D31
Decimal644549
Binary1000000101101110001
Octal1005561

Shades and tints

Shades of #402D31

#402D31
(64,45,49)
#3B292D
(59,41,45)
#362529
(54,37,41)
#312125
(49,33,37)
#2C1D21
(44,29,33)
#27191D
(39,25,29)
#221519
(34,21,25)
#1D1115
(29,17,21)
#180D11
(24,13,17)
#13090D
(19,9,13)
#0E0509
(14,5,9)
#000000
(0,0,0)

Tints of #402D31

#402D31
(64,45,49)
#514043
(81,64,67)
#625355
(98,83,85)
#736667
(115,102,103)
#847979
(132,121,121)
#958C8B
(149,140,139)
#A69F9D
(166,159,157)
#B7B2AF
(183,178,175)
#C8C5C1
(200,197,193)
#D9D8D3
(217,216,211)
#EAEBE5
(234,235,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402D31 color. Also use rgb(64,45,49) instead hex code.

Text Font Color

.myTextColor { color: #402D31; }

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

This text font color is #402D31.


Background Color

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

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

This div background color is #402D31.


Border color

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

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

This div border color is #402D31.


Opacity

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

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

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

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

This text has shadow with #402D31 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402D31 on black background.


Color preview on white background

This text has color #402D31 on white background.



Black color preview on #402D31 background

This text has black color on #402D31 background.


White color preview on #402D31 background

This text has white color on #402D31 background.