COLOR #401E6B

HEX: #401E6B
RGB: (64,30,107)

Color info

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

RGB color model

#401E6B color RGB value is (64,30,107).

  • red value is 64;
  • green value is 30;
  • blue value is 107.
RGB:
(64,30,107)
(25%,12%,42%)

RGB channels and saturation

R 64 of 255 = 25%
G 30 of 255 = 12%
B 107 of 255 = 42%

64
30
107

R + G + B ~ 26%. #401E6B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 30 + 107 = 201 (100%)
R 64 of 201 ~ 31.84%
G 30 of 201 ~ 14.93%
B 107 of 201 ~ 53.23%

%31.84
%14.93
%53.23

CMYK color model

#401E6B color CMYK value is (40,72,0,58).

  • cyan value is 40.19%
  • magenta value is 71.96%
  • yellow value is 0.00%
  • key color value is 58.04%
CMYK:
(40,72,0,58)
C40M72Y0K58 
(40%,72%,0%,58%)
(0.40/0.72/0.00/0.58)	

CMYK percentages

%40.19
%71.96
%0
%58.04

Codes

Color #401E6B in popluar color models

401E6B
RGB6430107
HSL266°56.20%26.86%
HSB/HSV266°71.96%41.96%
CMYK40.19%71.96%0.00%
58.04%

Color #401E6B in popluar number systems.

HEX401E6B
Decimal6430107
Binary1000000111101101011
Octal10036153

Shades and tints

Shades of #401E6B

#401E6B
(64,30,107)
#3B1C62
(59,28,98)
#361A59
(54,26,89)
#311850
(49,24,80)
#2C1647
(44,22,71)
#27143E
(39,20,62)
#221235
(34,18,53)
#1D102C
(29,16,44)
#180E23
(24,14,35)
#130C1A
(19,12,26)
#0E0A11
(14,10,17)
#000000
(0,0,0)

Tints of #401E6B

#401E6B
(64,30,107)
#513278
(81,50,120)
#624685
(98,70,133)
#735A92
(115,90,146)
#846E9F
(132,110,159)
#9582AC
(149,130,172)
#A696B9
(166,150,185)
#B7AAC6
(183,170,198)
#C8BED3
(200,190,211)
#D9D2E0
(217,210,224)
#EAE6ED
(234,230,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #401E6B color. Also use rgb(64,30,107) instead hex code.

Text Font Color

.myTextColor { color: #401E6B; }

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

This text font color is #401E6B.


Background Color

.myBgColor { background-color: #401E6B; }

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

This div background color is #401E6B.


Border color

.myBorderColor { border: 1px solid #401E6B; }

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

This div border color is #401E6B.


Opacity

.myOpacity80 { color: #401E6B; opacity: 0.8; }

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

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

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

This text has shadow with #401E6B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #401E6B on black background.


Color preview on white background

This text has color #401E6B on white background.



Black color preview on #401E6B background

This text has black color on #401E6B background.


White color preview on #401E6B background

This text has white color on #401E6B background.