COLOR #400A5F

HEX: #400A5F
RGB: (64,10,95)

Color info

#400A5F contains mainly red and blue colors. Web safe color of #400A5F is #330066 (or #306).

RGB color model

#400A5F color RGB value is (64,10,95).

  • red value is 64;
  • green value is 10;
  • blue value is 95.
RGB:
(64,10,95)
(25%,4%,37%)

RGB channels and saturation

R 64 of 255 = 25%
G 10 of 255 = 4%
B 95 of 255 = 37%

64
10
95

R + G + B ~ 22%. #400A5F is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 10 + 95 = 169 (100%)
R 64 of 169 ~ 37.87%
G 10 of 169 ~ 5.92%
B 95 of 169 ~ 56.21%

%37.87
%56.21

CMYK color model

#400A5F color CMYK value is (33,89,0,63).

  • cyan value is 32.63%
  • magenta value is 89.47%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(33,89,0,63)
C33M89Y0K63 
(33%,89%,0%,63%)
(0.33/0.89/0.00/0.63)	

CMYK percentages

%32.63
%89.47
%0
%62.75

Codes

Color #400A5F in popluar color models

400A5F
RGB641095
HSL278°80.95%20.59%
HSB/HSV278°89.47%37.25%
CMYK32.63%89.47%0.00%
62.75%

Color #400A5F in popluar number systems.

HEX400A5F
Decimal641095
Binary100000010101011111
Octal10012137

Shades and tints

Shades of #400A5F

#400A5F
(64,10,95)
#3B0A57
(59,10,87)
#360A4F
(54,10,79)
#310A47
(49,10,71)
#2C0A3F
(44,10,63)
#270A37
(39,10,55)
#220A2F
(34,10,47)
#1D0A27
(29,10,39)
#180A1F
(24,10,31)
#130A17
(19,10,23)
#0E0A0F
(14,10,15)
#000000
(0,0,0)

Tints of #400A5F

#400A5F
(64,10,95)
#51206D
(81,32,109)
#62367B
(98,54,123)
#734C89
(115,76,137)
#846297
(132,98,151)
#9578A5
(149,120,165)
#A68EB3
(166,142,179)
#B7A4C1
(183,164,193)
#C8BACF
(200,186,207)
#D9D0DD
(217,208,221)
#EAE6EB
(234,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400A5F color. Also use rgb(64,10,95) instead hex code.

Text Font Color

.myTextColor { color: #400A5F; }

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

This text font color is #400A5F.


Background Color

.myBgColor { background-color: #400A5F; }

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

This div background color is #400A5F.


Border color

.myBorderColor { border: 1px solid #400A5F; }

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

This div border color is #400A5F.


Opacity

.myOpacity80 { color: #400A5F; opacity: 0.8; }

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

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

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

This text has shadow with #400A5F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #400A5F on black background.


Color preview on white background

This text has color #400A5F on white background.



Black color preview on #400A5F background

This text has black color on #400A5F background.


White color preview on #400A5F background

This text has white color on #400A5F background.