COLOR #402939

HEX: #402939 RGB: (64,41,57)

Color info

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

RGB color model

#402939 color RGB value is (64,41,57).

RGB: (64,41,57) (25%, 16%, 22%)

RGB channels and saturation

R 64 of 255 = 25%
G 41 of 255 = 16%
B 57 of 255 = 22%

64
41
57

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

Portions of RGB colors in percentages

R + G + B = 64 + 41 + 57 = 162 (100%)
R 64 of 162 ~ 39.51%
G 41 of 162 ~ 25.31%
B 57 of 162 ~ 35.19'%

%39.51
%25.31
%35.19

CMYK color model

#402939 color CMYK value is (0,36,11,75).

  • cyan value is 0.00%
  • magenta value is 35.94%
  • yellow value is 10.94%
  • key color value is 74.90%

CMYK: (0,36,11,75)
C0M36Y11K75 (0%, 36%, 11%, 75%)
(0.00 / 0.36 / 0.11 / 0.75)

CMYK percentages

%0
%35.94
%10.94
%74.9

Codes

Color #402939 in popluar color models

40 29 39
RGB 64 41 57
HSL 318° 21.90% 20.59%
HSB/HSV 318° 35.94% 25.10%
CMYK 0.00% 35.94% 10.94%
74.90%

Color #402939 in popluar number systems.

HEX 40 29 39
Decimal 64 41 57
Binary 1000000 101001 111001
Octal 100 51 71

Shades and tints

Shades of #402939

#402939
(64,41,57)
#3B2634
(59,38,52)
#36232F
(54,35,47)
#31202A
(49,32,42)
#2C1D25
(44,29,37)
#271A20
(39,26,32)
#22171B
(34,23,27)
#1D1416
(29,20,22)
#181111
(24,17,17)
#130E0C
(19,14,12)
#0E0B07
(14,11,7)
#000000
(0,0,0)

Tints of #402939

#402939
(64,41,57)
#513C4B
(81,60,75)
#624F5D
(98,79,93)
#73626F
(115,98,111)
#847581
(132,117,129)
#958893
(149,136,147)
#A69BA5
(166,155,165)
#B7AEB7
(183,174,183)
#C8C1C9
(200,193,201)
#D9D4DB
(217,212,219)
#EAE7ED
(234,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402939 color. Also use rgb(64,41,57) instead hex code.

Text Font Color

.myTextColor { color: #402939; }

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

This text font color is #402939.

Background Color

.myBgColor { background-color: #402939; }

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

This div background color is #402939.

Border color

.myBorderColor { border: 1px solid #402939; }

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

This div border color is #402939.

Opacity

.myOpacity80 { color: #402939; opacity: 0.8; }

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

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

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

This text has shadow with #402939 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402939.

Preview

Color preview on black background

This text has color #402939 on black background.


Color preview on white background

This text has color #402939 on white background.


Black color preview on #402939 background

This text has black color on #402939 background.


White color preview on #402939 background

This text has white color on #402939 background.


Related colors

Complementary color

Complementary color for #hex is #BFD6C6.


I love getcolorcode.com

Triadic colors

1 #394029 and #293940 with #402939 are triadic colors.

2 #392940 and #294039 with #402939 are triadic colors.