COLOR #402973

HEX: #402973 RGB: (64,41,115)

Color info

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

RGB color model

#402973 color RGB value is (64,41,115).

RGB: (64,41,115) (25%, 16%, 45%)

RGB channels and saturation

R 64 of 255 = 25%
G 41 of 255 = 16%
B 115 of 255 = 45%

64
41
115

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

Portions of RGB colors in percentages

R + G + B = 64 + 41 + 115 = 220 (100%)
R 64 of 220 ~ 29.09%
G 41 of 220 ~ 18.64%
B 115 of 220 ~ 52.27'%

%29.09
%18.64
%52.27

CMYK color model

#402973 color CMYK value is (44,64,0,55).

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

CMYK: (44,64,0,55)
C44M64Y0K55 (44%, 64%, 0%, 55%)
(0.44 / 0.64 / 0.00 / 0.55)

CMYK percentages

%44.35
%64.35
%0
%54.9

Codes

Color #402973 in popluar color models

40 29 73
RGB 64 41 115
HSL 259° 47.44% 30.59%
HSB/HSV 259° 64.35% 45.10%
CMYK 44.35% 64.35% 0.00%
54.90%

Color #402973 in popluar number systems.

HEX 40 29 73
Decimal 64 41 115
Binary 1000000 101001 1110011
Octal 100 51 163

Shades and tints

Shades of #402973

#402973
(64,41,115)
#3B2669
(59,38,105)
#36235F
(54,35,95)
#312055
(49,32,85)
#2C1D4B
(44,29,75)
#271A41
(39,26,65)
#221737
(34,23,55)
#1D142D
(29,20,45)
#181123
(24,17,35)
#130E19
(19,14,25)
#0E0B0F
(14,11,15)
#000000
(0,0,0)

Tints of #402973

#402973
(64,41,115)
#513C7F
(81,60,127)
#624F8B
(98,79,139)
#736297
(115,98,151)
#8475A3
(132,117,163)
#9588AF
(149,136,175)
#A69BBB
(166,155,187)
#B7AEC7
(183,174,199)
#C8C1D3
(200,193,211)
#D9D4DF
(217,212,223)
#EAE7EB
(234,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402973; }

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

This text font color is #402973.

Background Color

.myBgColor { background-color: #402973; }

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

This div background color is #402973.

Border color

.myBorderColor { border: 1px solid #402973; }

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

This div border color is #402973.

Opacity

.myOpacity80 { color: #402973; opacity: 0.8; }

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

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

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

This text has shadow with #402973 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402973.

Preview

Color preview on black background

This text has color #402973 on black background.


Color preview on white background

This text has color #402973 on white background.


Black color preview on #402973 background

This text has black color on #402973 background.


White color preview on #402973 background

This text has white color on #402973 background.


Related colors

Complementary color

Complementary color for #hex is #BFD68C.


I love getcolorcode.com

Triadic colors

1 #734029 and #297340 with #402973 are triadic colors.

2 #732940 and #294073 with #402973 are triadic colors.