COLOR #402D46

HEX: #402D46 RGB: (64,45,70)

Color info

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

RGB color model

#402D46 color RGB value is (64,45,70).

RGB: (64,45,70) (25%, 18%, 27%)

RGB channels and saturation

R 64 of 255 = 25%
G 45 of 255 = 18%
B 70 of 255 = 27%

64
45
70

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

Portions of RGB colors in percentages

R + G + B = 64 + 45 + 70 = 179 (100%)
R 64 of 179 ~ 35.75%
G 45 of 179 ~ 25.14%
B 70 of 179 ~ 39.11'%

%35.75
%25.14
%39.11

CMYK color model

#402D46 color CMYK value is (9,36,0,73).

  • cyan value is 8.57%
  • magenta value is 35.71%
  • yellow value is 0.00%
  • key color value is 72.55%
CMYK: (9,36,0,73) C9M36Y0K73 (9%,36%,0%,73%) (0.09/0.36/0.00/0.73) 

CMYK percentages

%8.57
%35.71
%0
%72.55

Codes

Color #402D46 in popluar color models

40 2D 46
RGB 64 45 70
HSL 286° 21.74% 22.55%
HSB/HSV 286° 35.71% 27.45%
CMYK 8.57% 35.71% 0.00%
72.55%

Color #402D46 in popluar number systems.

HEX 40 2D 46
Decimal 64 45 70
Binary 1000000 101101 1000110
Octal 100 55 106

Shades and tints

Shades of #402D46

#402D46
(64,45,70)
#3B2940
(59,41,64)
#36253A
(54,37,58)
#312134
(49,33,52)
#2C1D2E
(44,29,46)
#271928
(39,25,40)
#221522
(34,21,34)
#1D111C
(29,17,28)
#180D16
(24,13,22)
#130910
(19,9,16)
#0E050A
(14,5,10)
#000000
(0,0,0)

Tints of #402D46

#402D46
(64,45,70)
#514056
(81,64,86)
#625366
(98,83,102)
#736676
(115,102,118)
#847986
(132,121,134)
#958C96
(149,140,150)
#A69FA6
(166,159,166)
#B7B2B6
(183,178,182)
#C8C5C6
(200,197,198)
#D9D8D6
(217,216,214)
#EAEBE6
(234,235,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402D46; }

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

This text font color is #402D46.

Background Color

.myBgColor { background-color: #402D46; }

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

This div background color is #402D46.

Border color

.myBorderColor { border: 1px solid #402D46; }

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

This div border color is #402D46.

Opacity

.myOpacity80 { color: #402D46; opacity: 0.8; }

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

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

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

This text has shadow with #402D46 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402D46.

Preview

Color preview on black background

This text has color #402D46 on black background.


Color preview on white background

This text has color #402D46 on white background.


Black color preview on #402D46 background

This text has black color on #402D46 background.


White color preview on #402D46 background

This text has white color on #402D46 background.


Related colors

Complementary color

Complementary color for #hex is #BFD2B9.


I love getcolorcode.com

Triadic colors

1 #46402D and #2D4640 with #402D46 are triadic colors.

2 #462D40 and #2D4046 with #402D46 are triadic colors.