COLOR #402E46

HEX: #402E46 RGB: (64,46,70)

Color info

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

RGB color model

#402E46 color RGB value is (64,46,70).

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

RGB channels and saturation

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

64
46
70

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

Portions of RGB colors in percentages

R + G + B = 64 + 46 + 70 = 180 (100%)
R 64 of 180 ~ 35.56%
G 46 of 180 ~ 25.56%
B 70 of 180 ~ 38.89'%

%35.56
%25.56
%38.89

CMYK color model

#402E46 color CMYK value is (9,34,0,73).

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

CMYK: (9,34,0,73)
C9M34Y0K73 (9%, 34%, 0%, 73%)
(0.09 / 0.34 / 0.00 / 0.73)

CMYK percentages

%8.57
%34.29
%0
%72.55

Codes

Color #402E46 in popluar color models

40 2E 46
RGB 64 46 70
HSL 285° 20.69% 22.75%
HSB/HSV 285° 34.29% 27.45%
CMYK 8.57% 34.29% 0.00%
72.55%

Color #402E46 in popluar number systems.

HEX 40 2E 46
Decimal 64 46 70
Binary 1000000 101110 1000110
Octal 100 56 106

Shades and tints

Shades of #402E46

#402E46
(64,46,70)
#3B2A40
(59,42,64)
#36263A
(54,38,58)
#312234
(49,34,52)
#2C1E2E
(44,30,46)
#271A28
(39,26,40)
#221622
(34,22,34)
#1D121C
(29,18,28)
#180E16
(24,14,22)
#130A10
(19,10,16)
#0E060A
(14,6,10)
#000000
(0,0,0)

Tints of #402E46

#402E46
(64,46,70)
#514156
(81,65,86)
#625466
(98,84,102)
#736776
(115,103,118)
#847A86
(132,122,134)
#958D96
(149,141,150)
#A6A0A6
(166,160,166)
#B7B3B6
(183,179,182)
#C8C6C6
(200,198,198)
#D9D9D6
(217,217,214)
#EAECE6
(234,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402E46; }

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

This text font color is #402E46.

Background Color

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

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

This div background color is #402E46.

Border color

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

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

This div border color is #402E46.

Opacity

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

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

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

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

This text has shadow with #402E46 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402E46.

Preview

Color preview on black background

This text has color #402E46 on black background.


Color preview on white background

This text has color #402E46 on white background.


Black color preview on #402E46 background

This text has black color on #402E46 background.


White color preview on #402E46 background

This text has white color on #402E46 background.


Related colors

Complementary color

Complementary color for #hex is #BFD1B9.


I love getcolorcode.com

Triadic colors

1 #46402E and #2E4640 with #402E46 are triadic colors.

2 #462E40 and #2E4046 with #402E46 are triadic colors.