COLOR #402470

HEX: #402470
RGB: (64,36,112)

Color info

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

RGB color model

#402470 color RGB value is (64,36,112).

  • red value is 64;
  • green value is 36;
  • blue value is 112.
RGB:
(64,36,112)
(25%,14%,44%)

RGB channels and saturation

R 64 of 255 = 25%
G 36 of 255 = 14%
B 112 of 255 = 44%

64
36
112

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

Portions of RGB colors in percentages

R + G + B =
64 + 36 + 112 = 212 (100%)
R 64 of 212 ~ 30.19%
G 36 of 212 ~ 16.98%
B 112 of 212 ~ 52.83%

%30.19
%16.98
%52.83

CMYK color model

#402470 color CMYK value is (43,68,0,56).

  • cyan value is 42.86%
  • magenta value is 67.86%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK:
(43,68,0,56)
C43M68Y0K56 
(43%,68%,0%,56%)
(0.43/0.68/0.00/0.56)	

CMYK percentages

%42.86
%67.86
%0
%56.08

Codes

Color #402470 in popluar color models

402470
RGB6436112
HSL262°51.35%29.02%
HSB/HSV262°67.86%43.92%
CMYK42.86%67.86%0.00%
56.08%

Color #402470 in popluar number systems.

HEX402470
Decimal6436112
Binary10000001001001110000
Octal10044160

Shades and tints

Shades of #402470

#402470
(64,36,112)
#3B2166
(59,33,102)
#361E5C
(54,30,92)
#311B52
(49,27,82)
#2C1848
(44,24,72)
#27153E
(39,21,62)
#221234
(34,18,52)
#1D0F2A
(29,15,42)
#180C20
(24,12,32)
#130916
(19,9,22)
#0E060C
(14,6,12)
#000000
(0,0,0)

Tints of #402470

#402470
(64,36,112)
#51377D
(81,55,125)
#624A8A
(98,74,138)
#735D97
(115,93,151)
#8470A4
(132,112,164)
#9583B1
(149,131,177)
#A696BE
(166,150,190)
#B7A9CB
(183,169,203)
#C8BCD8
(200,188,216)
#D9CFE5
(217,207,229)
#EAE2F2
(234,226,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402470; }

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

This text font color is #402470.


Background Color

.myBgColor { background-color: #402470; }

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

This div background color is #402470.


Border color

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

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

This div border color is #402470.


Opacity

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

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

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

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

This text has shadow with #402470 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402470 on black background.


Color preview on white background

This text has color #402470 on white background.



Black color preview on #402470 background

This text has black color on #402470 background.


White color preview on #402470 background

This text has white color on #402470 background.