COLOR #402844

HEX: #402844 RGB: (64,40,68)

Color info

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

RGB color model

#402844 color RGB value is (64,40,68).

RGB: (64,40,68) (25%, 16%, 27%)

RGB channels and saturation

R 64 of 255 = 25%
G 40 of 255 = 16%
B 68 of 255 = 27%

64
40
68

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

Portions of RGB colors in percentages

R + G + B = 64 + 40 + 68 = 172 (100%)
R 64 of 172 ~ 37.21%
G 40 of 172 ~ 23.26%
B 68 of 172 ~ 39.53'%

%37.21
%23.26
%39.53

CMYK color model

#402844 color CMYK value is (6,41,0,73).

  • cyan value is 5.88%
  • magenta value is 41.18%
  • yellow value is 0.00%
  • key color value is 73.33%

CMYK: (6,41,0,73)
C6M41Y0K73 (6%, 41%, 0%, 73%)
(0.06 / 0.41 / 0.00 / 0.73)

CMYK percentages

%5.88
%41.18
%0
%73.33

Codes

Color #402844 in popluar color models

40 28 44
RGB 64 40 68
HSL 291° 25.93% 21.18%
HSB/HSV 291° 41.18% 26.67%
CMYK 5.88% 41.18% 0.00%
73.33%

Color #402844 in popluar number systems.

HEX 40 28 44
Decimal 64 40 68
Binary 1000000 101000 1000100
Octal 100 50 104

Shades and tints

Shades of #402844

#402844
(64,40,68)
#3B253E
(59,37,62)
#362238
(54,34,56)
#311F32
(49,31,50)
#2C1C2C
(44,28,44)
#271926
(39,25,38)
#221620
(34,22,32)
#1D131A
(29,19,26)
#181014
(24,16,20)
#130D0E
(19,13,14)
#0E0A08
(14,10,8)
#000000
(0,0,0)

Tints of #402844

#402844
(64,40,68)
#513B55
(81,59,85)
#624E66
(98,78,102)
#736177
(115,97,119)
#847488
(132,116,136)
#958799
(149,135,153)
#A69AAA
(166,154,170)
#B7ADBB
(183,173,187)
#C8C0CC
(200,192,204)
#D9D3DD
(217,211,221)
#EAE6EE
(234,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402844 color. Also use rgb(64,40,68) instead hex code.

Text Font Color

.myTextColor { color: #402844; }

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

This text font color is #402844.

Background Color

.myBgColor { background-color: #402844; }

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

This div background color is #402844.

Border color

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

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

This div border color is #402844.

Opacity

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

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

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

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

This text has shadow with #402844 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402844.

Preview

Color preview on black background

This text has color #402844 on black background.


Color preview on white background

This text has color #402844 on white background.


Black color preview on #402844 background

This text has black color on #402844 background.


White color preview on #402844 background

This text has white color on #402844 background.


Related colors

Complementary color

Complementary color for #hex is #BFD7BB.


I love getcolorcode.com

Triadic colors

1 #444028 and #284440 with #402844 are triadic colors.

2 #442840 and #284044 with #402844 are triadic colors.