COLOR #402B73

HEX: #402B73 RGB: (64,43,115)

Color info

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

RGB color model

#402B73 color RGB value is (64,43,115).

RGB: (64,43,115) (25%, 17%, 45%)

RGB channels and saturation

R 64 of 255 = 25%
G 43 of 255 = 17%
B 115 of 255 = 45%

64
43
115

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

Portions of RGB colors in percentages

R + G + B = 64 + 43 + 115 = 222 (100%)
R 64 of 222 ~ 28.83%
G 43 of 222 ~ 19.37%
B 115 of 222 ~ 51.8'%

%28.83
%19.37
%51.8

CMYK color model

#402B73 color CMYK value is (44,63,0,55).

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

CMYK: (44,63,0,55)
C44M63Y0K55 (44%, 63%, 0%, 55%)
(0.44 / 0.63 / 0.00 / 0.55)

CMYK percentages

%44.35
%62.61
%0
%54.9

Codes

Color #402B73 in popluar color models

40 2B 73
RGB 64 43 115
HSL 258° 45.57% 30.98%
HSB/HSV 258° 62.61% 45.10%
CMYK 44.35% 62.61% 0.00%
54.90%

Color #402B73 in popluar number systems.

HEX 40 2B 73
Decimal 64 43 115
Binary 1000000 101011 1110011
Octal 100 53 163

Shades and tints

Shades of #402B73

#402B73
(64,43,115)
#3B2869
(59,40,105)
#36255F
(54,37,95)
#312255
(49,34,85)
#2C1F4B
(44,31,75)
#271C41
(39,28,65)
#221937
(34,25,55)
#1D162D
(29,22,45)
#181323
(24,19,35)
#131019
(19,16,25)
#0E0D0F
(14,13,15)
#000000
(0,0,0)

Tints of #402B73

#402B73
(64,43,115)
#513E7F
(81,62,127)
#62518B
(98,81,139)
#736497
(115,100,151)
#8477A3
(132,119,163)
#958AAF
(149,138,175)
#A69DBB
(166,157,187)
#B7B0C7
(183,176,199)
#C8C3D3
(200,195,211)
#D9D6DF
(217,214,223)
#EAE9EB
(234,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402B73; }

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

This text font color is #402B73.

Background Color

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

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

This div background color is #402B73.

Border color

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

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

This div border color is #402B73.

Opacity

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

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

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

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

This text has shadow with #402B73 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402B73.

Preview

Color preview on black background

This text has color #402B73 on black background.


Color preview on white background

This text has color #402B73 on white background.


Black color preview on #402B73 background

This text has black color on #402B73 background.


White color preview on #402B73 background

This text has white color on #402B73 background.


Related colors

Complementary color

Complementary color for #hex is #BFD48C.


I love getcolorcode.com

Triadic colors

1 #73402B and #2B7340 with #402B73 are triadic colors.

2 #732B40 and #2B4073 with #402B73 are triadic colors.