COLOR #400E8C

HEX: #400E8C
RGB: (64,14,140)

Color info

#400E8C contains mainly blue color. Web safe color of #400E8C is #330099 (or #309).

RGB color model

#400E8C color RGB value is (64,14,140).

  • red value is 64;
  • green value is 14;
  • blue value is 140.
RGB:
(64,14,140)
(25%,5%,55%)

RGB channels and saturation

R 64 of 255 = 25%
G 14 of 255 = 5%
B 140 of 255 = 55%

64
14
140

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

Portions of RGB colors in percentages

R + G + B =
64 + 14 + 140 = 218 (100%)
R 64 of 218 ~ 29.36%
G 14 of 218 ~ 6.42%
B 140 of 218 ~ 64.22%

%29.36
%64.22

CMYK color model

#400E8C color CMYK value is (54,90,0,45).

  • cyan value is 54.29%
  • magenta value is 90.00%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(54,90,0,45)
C54M90Y0K45 
(54%,90%,0%,45%)
(0.54/0.90/0.00/0.45)	

CMYK percentages

%54.29
%90
%0
%45.1

Codes

Color #400E8C in popluar color models

400E8C
RGB6414140
HSL264°81.82%30.20%
HSB/HSV264°90.00%54.90%
CMYK54.29%90.00%0.00%
45.10%

Color #400E8C in popluar number systems.

HEX400E8C
Decimal6414140
Binary1000000111010001100
Octal10016214

Shades and tints

Shades of #400E8C

#400E8C
(64,14,140)
#3B0D80
(59,13,128)
#360C74
(54,12,116)
#310B68
(49,11,104)
#2C0A5C
(44,10,92)
#270950
(39,9,80)
#220844
(34,8,68)
#1D0738
(29,7,56)
#18062C
(24,6,44)
#130520
(19,5,32)
#0E0414
(14,4,20)
#000000
(0,0,0)

Tints of #400E8C

#400E8C
(64,14,140)
#512396
(81,35,150)
#6238A0
(98,56,160)
#734DAA
(115,77,170)
#8462B4
(132,98,180)
#9577BE
(149,119,190)
#A68CC8
(166,140,200)
#B7A1D2
(183,161,210)
#C8B6DC
(200,182,220)
#D9CBE6
(217,203,230)
#EAE0F0
(234,224,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400E8C color. Also use rgb(64,14,140) instead hex code.

Text Font Color

.myTextColor { color: #400E8C; }

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

This text font color is #400E8C.


Background Color

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

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

This div background color is #400E8C.


Border color

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

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

This div border color is #400E8C.


Opacity

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

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

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

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

This text has shadow with #400E8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #400E8C on black background.


Color preview on white background

This text has color #400E8C on white background.



Black color preview on #400E8C background

This text has black color on #400E8C background.


White color preview on #400E8C background

This text has white color on #400E8C background.