COLOR #402549

HEX: #402549 RGB: (64,37,73)

Color info

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

RGB color model

#402549 color RGB value is (64,37,73).

RGB: (64,37,73) (25%, 15%, 29%)

RGB channels and saturation

R 64 of 255 = 25%
G 37 of 255 = 15%
B 73 of 255 = 29%

64
37
73

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

Portions of RGB colors in percentages

R + G + B = 64 + 37 + 73 = 174 (100%)
R 64 of 174 ~ 36.78%
G 37 of 174 ~ 21.26%
B 73 of 174 ~ 41.95'%

%36.78
%21.26
%41.95

CMYK color model

#402549 color CMYK value is (12,49,0,71).

  • cyan value is 12.33%
  • magenta value is 49.32%
  • yellow value is 0.00%
  • key color value is 71.37%
CMYK: (12,49,0,71) C12M49Y0K71 (12%,49%,0%,71%) (0.12/0.49/0.00/0.71) 

CMYK percentages

%12.33
%49.32
%0
%71.37

Codes

Color #402549 in popluar color models

40 25 49
RGB 64 37 73
HSL 285° 32.73% 21.57%
HSB/HSV 285° 49.32% 28.63%
CMYK 12.33% 49.32% 0.00%
71.37%

Color #402549 in popluar number systems.

HEX 40 25 49
Decimal 64 37 73
Binary 1000000 100101 1001001
Octal 100 45 111

Shades and tints

Shades of #402549

#402549
(64,37,73)
#3B2243
(59,34,67)
#361F3D
(54,31,61)
#311C37
(49,28,55)
#2C1931
(44,25,49)
#27162B
(39,22,43)
#221325
(34,19,37)
#1D101F
(29,16,31)
#180D19
(24,13,25)
#130A13
(19,10,19)
#0E070D
(14,7,13)
#000000
(0,0,0)

Tints of #402549

#402549
(64,37,73)
#513859
(81,56,89)
#624B69
(98,75,105)
#735E79
(115,94,121)
#847189
(132,113,137)
#958499
(149,132,153)
#A697A9
(166,151,169)
#B7AAB9
(183,170,185)
#C8BDC9
(200,189,201)
#D9D0D9
(217,208,217)
#EAE3E9
(234,227,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402549; }

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

This text font color is #402549.

Background Color

.myBgColor { background-color: #402549; }

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

This div background color is #402549.

Border color

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

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

This div border color is #402549.

Opacity

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

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

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

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

This text has shadow with #402549 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402549.

Preview

Color preview on black background

This text has color #402549 on black background.


Color preview on white background

This text has color #402549 on white background.


Black color preview on #402549 background

This text has black color on #402549 background.


White color preview on #402549 background

This text has white color on #402549 background.


Related colors

Complementary color

Complementary color for #hex is #BFDAB6.


I love getcolorcode.com

Triadic colors

1 #494025 and #254940 with #402549 are triadic colors.

2 #492540 and #254049 with #402549 are triadic colors.