COLOR #402E73

HEX: #402E73 RGB: (64,46,115)

Color info

#402E73 contains mainly red and blue colors. Web safe color of #402E73 is #333366 (or #336).

RGB color model

#402E73 color RGB value is (64,46,115).

RGB: (64,46,115) (25%, 18%, 45%)

RGB channels and saturation

R 64 of 255 = 25%
G 46 of 255 = 18%
B 115 of 255 = 45%

64
46
115

R + G + B ~ 29%. #402E73 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 46 + 115 = 225 (100%)
R 64 of 225 ~ 28.44%
G 46 of 225 ~ 20.44%
B 115 of 225 ~ 51.11'%

%28.44
%20.44
%51.11

CMYK color model

#402E73 color CMYK value is (44,60,0,55).

  • cyan value is 44.35%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 54.90%

CMYK: (44,60,0,55)
C44M60Y0K55 (44%, 60%, 0%, 55%)
(0.44 / 0.60 / 0.00 / 0.55)

CMYK percentages

%44.35
%60
%0
%54.9

Codes

Color #402E73 in popluar color models

40 2E 73
RGB 64 46 115
HSL 256° 42.86% 31.57%
HSB/HSV 256° 60.00% 45.10%
CMYK 44.35% 60.00% 0.00%
54.90%

Color #402E73 in popluar number systems.

HEX 40 2E 73
Decimal 64 46 115
Binary 1000000 101110 1110011
Octal 100 56 163

Shades and tints

Shades of #402E73

#402E73
(64,46,115)
#3B2A69
(59,42,105)
#36265F
(54,38,95)
#312255
(49,34,85)
#2C1E4B
(44,30,75)
#271A41
(39,26,65)
#221637
(34,22,55)
#1D122D
(29,18,45)
#180E23
(24,14,35)
#130A19
(19,10,25)
#0E060F
(14,6,15)
#000000
(0,0,0)

Tints of #402E73

#402E73
(64,46,115)
#51417F
(81,65,127)
#62548B
(98,84,139)
#736797
(115,103,151)
#847AA3
(132,122,163)
#958DAF
(149,141,175)
#A6A0BB
(166,160,187)
#B7B3C7
(183,179,199)
#C8C6D3
(200,198,211)
#D9D9DF
(217,217,223)
#EAECEB
(234,236,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402E73; }

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

This text font color is #402E73.

Background Color

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

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

This div background color is #402E73.

Border color

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

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

This div border color is #402E73.

Opacity

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

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

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

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

This text has shadow with #402E73 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402E73.

Preview

Color preview on black background

This text has color #402E73 on black background.


Color preview on white background

This text has color #402E73 on white background.


Black color preview on #402E73 background

This text has black color on #402E73 background.


White color preview on #402E73 background

This text has white color on #402E73 background.


Related colors

Complementary color

Complementary color for #hex is #BFD18C.


I love getcolorcode.com

Triadic colors

1 #73402E and #2E7340 with #402E73 are triadic colors.

2 #732E40 and #2E4073 with #402E73 are triadic colors.