COLOR #402446

HEX: #402446 RGB: (64,36,70)

Color info

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

RGB color model

#402446 color RGB value is (64,36,70).

RGB: (64,36,70) (25%, 14%, 27%)

RGB channels and saturation

R 64 of 255 = 25%
G 36 of 255 = 14%
B 70 of 255 = 27%

64
36
70

R + G + B ~ 22%. #402446 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 36 + 70 = 170 (100%)
R 64 of 170 ~ 37.65%
G 36 of 170 ~ 21.18%
B 70 of 170 ~ 41.18'%

%37.65
%21.18
%41.18

CMYK color model

#402446 color CMYK value is (9,49,0,73).

  • cyan value is 8.57%
  • magenta value is 48.57%
  • yellow value is 0.00%
  • key color value is 72.55%

CMYK: (9,49,0,73)
C9M49Y0K73 (9%, 49%, 0%, 73%)
(0.09 / 0.49 / 0.00 / 0.73)

CMYK percentages

%8.57
%48.57
%0
%72.55

Codes

Color #402446 in popluar color models

40 24 46
RGB 64 36 70
HSL 289° 32.08% 20.78%
HSB/HSV 289° 48.57% 27.45%
CMYK 8.57% 48.57% 0.00%
72.55%

Color #402446 in popluar number systems.

HEX 40 24 46
Decimal 64 36 70
Binary 1000000 100100 1000110
Octal 100 44 106

Shades and tints

Shades of #402446

#402446
(64,36,70)
#3B2140
(59,33,64)
#361E3A
(54,30,58)
#311B34
(49,27,52)
#2C182E
(44,24,46)
#271528
(39,21,40)
#221222
(34,18,34)
#1D0F1C
(29,15,28)
#180C16
(24,12,22)
#130910
(19,9,16)
#0E060A
(14,6,10)
#000000
(0,0,0)

Tints of #402446

#402446
(64,36,70)
#513756
(81,55,86)
#624A66
(98,74,102)
#735D76
(115,93,118)
#847086
(132,112,134)
#958396
(149,131,150)
#A696A6
(166,150,166)
#B7A9B6
(183,169,182)
#C8BCC6
(200,188,198)
#D9CFD6
(217,207,214)
#EAE2E6
(234,226,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402446 color. Also use rgb(64,36,70) instead hex code.

Text Font Color

.myTextColor { color: #402446; }

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

This text font color is #402446.

Background Color

.myBgColor { background-color: #402446; }

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

This div background color is #402446.

Border color

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

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

This div border color is #402446.

Opacity

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

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

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

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

This text has shadow with #402446 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402446.

Preview

Color preview on black background

This text has color #402446 on black background.


Color preview on white background

This text has color #402446 on white background.


Black color preview on #402446 background

This text has black color on #402446 background.


White color preview on #402446 background

This text has white color on #402446 background.


Related colors

Complementary color

Complementary color for #hex is #BFDBB9.


I love getcolorcode.com

Triadic colors

1 #464024 and #244640 with #402446 are triadic colors.

2 #462440 and #244046 with #402446 are triadic colors.