COLOR #402949

HEX: #402949 RGB: (64,41,73)

Color info

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

RGB color model

#402949 color RGB value is (64,41,73).

RGB: (64,41,73) (25%, 16%, 29%)

RGB channels and saturation

R 64 of 255 = 25%
G 41 of 255 = 16%
B 73 of 255 = 29%

64
41
73

R + G + B ~ 23%. #402949 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 41 + 73 = 178 (100%)
R 64 of 178 ~ 35.96%
G 41 of 178 ~ 23.03%
B 73 of 178 ~ 41.01'%

%35.96
%23.03
%41.01

CMYK color model

#402949 color CMYK value is (12,44,0,71).

  • cyan value is 12.33%
  • magenta value is 43.84%
  • yellow value is 0.00%
  • key color value is 71.37%
CMYK: (12,44,0,71) C12M44Y0K71 (12%,44%,0%,71%) (0.12/0.44/0.00/0.71) 

CMYK percentages

%12.33
%43.84
%0
%71.37

Codes

Color #402949 in popluar color models

40 29 49
RGB 64 41 73
HSL 283° 28.07% 22.35%
HSB/HSV 283° 43.84% 28.63%
CMYK 12.33% 43.84% 0.00%
71.37%

Color #402949 in popluar number systems.

HEX 40 29 49
Decimal 64 41 73
Binary 1000000 101001 1001001
Octal 100 51 111

Shades and tints

Shades of #402949

#402949
(64,41,73)
#3B2643
(59,38,67)
#36233D
(54,35,61)
#312037
(49,32,55)
#2C1D31
(44,29,49)
#271A2B
(39,26,43)
#221725
(34,23,37)
#1D141F
(29,20,31)
#181119
(24,17,25)
#130E13
(19,14,19)
#0E0B0D
(14,11,13)
#000000
(0,0,0)

Tints of #402949

#402949
(64,41,73)
#513C59
(81,60,89)
#624F69
(98,79,105)
#736279
(115,98,121)
#847589
(132,117,137)
#958899
(149,136,153)
#A69BA9
(166,155,169)
#B7AEB9
(183,174,185)
#C8C1C9
(200,193,201)
#D9D4D9
(217,212,217)
#EAE7E9
(234,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402949; }

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

This text font color is #402949.

Background Color

.myBgColor { background-color: #402949; }

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

This div background color is #402949.

Border color

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

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

This div border color is #402949.

Opacity

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

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

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

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

This text has shadow with #402949 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402949.

Preview

Color preview on black background

This text has color #402949 on black background.


Color preview on white background

This text has color #402949 on white background.


Black color preview on #402949 background

This text has black color on #402949 background.


White color preview on #402949 background

This text has white color on #402949 background.


Related colors

Complementary color

Complementary color for #hex is #BFD6B6.


I love getcolorcode.com

Triadic colors

1 #494029 and #294940 with #402949 are triadic colors.

2 #492940 and #294049 with #402949 are triadic colors.