COLOR #402E4E

HEX: #402E4E RGB: (64,46,78)

Color info

#402E4E contains red, green and blue colors in about the same proportion. Web safe color of #402E4E is #333366 (or #336).

RGB color model

#402E4E color RGB value is (64,46,78).

RGB: (64,46,78) (25%, 18%, 31%)

RGB channels and saturation

R 64 of 255 = 25%
G 46 of 255 = 18%
B 78 of 255 = 31%

64
46
78

R + G + B ~ 25%. #402E4E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 46 + 78 = 188 (100%)
R 64 of 188 ~ 34.04%
G 46 of 188 ~ 24.47%
B 78 of 188 ~ 41.49'%

%34.04
%24.47
%41.49

CMYK color model

#402E4E color CMYK value is (18,41,0,69).

  • cyan value is 17.95%
  • magenta value is 41.03%
  • yellow value is 0.00%
  • key color value is 69.41%

CMYK: (18,41,0,69)
C18M41Y0K69 (18%, 41%, 0%, 69%)
(0.18 / 0.41 / 0.00 / 0.69)

CMYK percentages

%17.95
%41.03
%0
%69.41

Codes

Color #402E4E in popluar color models

40 2E 4E
RGB 64 46 78
HSL 274° 25.81% 24.31%
HSB/HSV 274° 41.03% 30.59%
CMYK 17.95% 41.03% 0.00%
69.41%

Color #402E4E in popluar number systems.

HEX 40 2E 4E
Decimal 64 46 78
Binary 1000000 101110 1001110
Octal 100 56 116

Shades and tints

Shades of #402E4E

#402E4E
(64,46,78)
#3B2A47
(59,42,71)
#362640
(54,38,64)
#312239
(49,34,57)
#2C1E32
(44,30,50)
#271A2B
(39,26,43)
#221624
(34,22,36)
#1D121D
(29,18,29)
#180E16
(24,14,22)
#130A0F
(19,10,15)
#0E0608
(14,6,8)
#000000
(0,0,0)

Tints of #402E4E

#402E4E
(64,46,78)
#51415E
(81,65,94)
#62546E
(98,84,110)
#73677E
(115,103,126)
#847A8E
(132,122,142)
#958D9E
(149,141,158)
#A6A0AE
(166,160,174)
#B7B3BE
(183,179,190)
#C8C6CE
(200,198,206)
#D9D9DE
(217,217,222)
#EAECEE
(234,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402E4E; }

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

This text font color is #402E4E.

Background Color

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

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

This div background color is #402E4E.

Border color

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

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

This div border color is #402E4E.

Opacity

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

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

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

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

This text has shadow with #402E4E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402E4E.

Preview

Color preview on black background

This text has color #402E4E on black background.


Color preview on white background

This text has color #402E4E on white background.


Black color preview on #402E4E background

This text has black color on #402E4E background.


White color preview on #402E4E background

This text has white color on #402E4E background.


Related colors

Complementary color

Complementary color for #hex is #BFD1B1.


I love getcolorcode.com

Triadic colors

1 #4E402E and #2E4E40 with #402E4E are triadic colors.

2 #4E2E40 and #2E404E with #402E4E are triadic colors.