COLOR #402475

HEX: #402475 RGB: (64,36,117)

Color info

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

RGB color model

#402475 color RGB value is (64,36,117).

RGB: (64,36,117) (25%, 14%, 46%)

RGB channels and saturation

R 64 of 255 = 25%
G 36 of 255 = 14%
B 117 of 255 = 46%

64
36
117

R + G + B ~ 28%. #402475 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 36 + 117 = 217 (100%)
R 64 of 217 ~ 29.49%
G 36 of 217 ~ 16.59%
B 117 of 217 ~ 53.92'%

%29.49
%16.59
%53.92

CMYK color model

#402475 color CMYK value is (45,69,0,54).

  • cyan value is 45.30%
  • magenta value is 69.23%
  • yellow value is 0.00%
  • key color value is 54.12%

CMYK: (45,69,0,54)
C45M69Y0K54 (45%, 69%, 0%, 54%)
(0.45 / 0.69 / 0.00 / 0.54)

CMYK percentages

%45.3
%69.23
%0
%54.12

Codes

Color #402475 in popluar color models

40 24 75
RGB 64 36 117
HSL 261° 52.94% 30.00%
HSB/HSV 261° 69.23% 45.88%
CMYK 45.30% 69.23% 0.00%
54.12%

Color #402475 in popluar number systems.

HEX 40 24 75
Decimal 64 36 117
Binary 1000000 100100 1110101
Octal 100 44 165

Shades and tints

Shades of #402475

#402475
(64,36,117)
#3B216B
(59,33,107)
#361E61
(54,30,97)
#311B57
(49,27,87)
#2C184D
(44,24,77)
#271543
(39,21,67)
#221239
(34,18,57)
#1D0F2F
(29,15,47)
#180C25
(24,12,37)
#13091B
(19,9,27)
#0E0611
(14,6,17)
#000000
(0,0,0)

Tints of #402475

#402475
(64,36,117)
#513781
(81,55,129)
#624A8D
(98,74,141)
#735D99
(115,93,153)
#8470A5
(132,112,165)
#9583B1
(149,131,177)
#A696BD
(166,150,189)
#B7A9C9
(183,169,201)
#C8BCD5
(200,188,213)
#D9CFE1
(217,207,225)
#EAE2ED
(234,226,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402475 color. Also use rgb(64,36,117) instead hex code.

Text Font Color

.myTextColor { color: #402475; }

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

This text font color is #402475.

Background Color

.myBgColor { background-color: #402475; }

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

This div background color is #402475.

Border color

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

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

This div border color is #402475.

Opacity

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

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

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

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

This text has shadow with #402475 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402475.

Preview

Color preview on black background

This text has color #402475 on black background.


Color preview on white background

This text has color #402475 on white background.


Black color preview on #402475 background

This text has black color on #402475 background.


White color preview on #402475 background

This text has white color on #402475 background.


Related colors

Complementary color

Complementary color for #hex is #BFDB8A.


I love getcolorcode.com

Triadic colors

1 #754024 and #247540 with #402475 are triadic colors.

2 #752440 and #244075 with #402475 are triadic colors.