COLOR #400F96

HEX: #400F96
RGB: (64,15,150)

Color info

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

RGB color model

#400F96 color RGB value is (64,15,150).

  • red value is 64;
  • green value is 15;
  • blue value is 150.
RGB:
(64,15,150)
(25%,6%,59%)

RGB channels and saturation

R 64 of 255 = 25%
G 15 of 255 = 6%
B 150 of 255 = 59%

64
15
150

R + G + B ~ 30%. #400F96 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 15 + 150 = 229 (100%)
R 64 of 229 ~ 27.95%
G 15 of 229 ~ 6.55%
B 150 of 229 ~ 65.5%

%27.95
%65.5

CMYK color model

#400F96 color CMYK value is (57,90,0,41).

  • cyan value is 57.33%
  • magenta value is 90.00%
  • yellow value is 0.00%
  • key color value is 41.18%
CMYK:
(57,90,0,41)
C57M90Y0K41 
(57%,90%,0%,41%)
(0.57/0.90/0.00/0.41)	

CMYK percentages

%57.33
%90
%0
%41.18

Codes

Color #400F96 in popluar color models

400F96
RGB6415150
HSL262°81.82%32.35%
HSB/HSV262°90.00%58.82%
CMYK57.33%90.00%0.00%
41.18%

Color #400F96 in popluar number systems.

HEX400F96
Decimal6415150
Binary1000000111110010110
Octal10017226

Shades and tints

Shades of #400F96

#400F96
(64,15,150)
#3B0E89
(59,14,137)
#360D7C
(54,13,124)
#310C6F
(49,12,111)
#2C0B62
(44,11,98)
#270A55
(39,10,85)
#220948
(34,9,72)
#1D083B
(29,8,59)
#18072E
(24,7,46)
#130621
(19,6,33)
#0E0514
(14,5,20)
#000000
(0,0,0)

Tints of #400F96

#400F96
(64,15,150)
#51249F
(81,36,159)
#6239A8
(98,57,168)
#734EB1
(115,78,177)
#8463BA
(132,99,186)
#9578C3
(149,120,195)
#A68DCC
(166,141,204)
#B7A2D5
(183,162,213)
#C8B7DE
(200,183,222)
#D9CCE7
(217,204,231)
#EAE1F0
(234,225,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400F96 color. Also use rgb(64,15,150) instead hex code.

Text Font Color

.myTextColor { color: #400F96; }

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

This text font color is #400F96.


Background Color

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

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

This div background color is #400F96.


Border color

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

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

This div border color is #400F96.


Opacity

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

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

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

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

This text has shadow with #400F96 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #400F96 on black background.


Color preview on white background

This text has color #400F96 on white background.



Black color preview on #400F96 background

This text has black color on #400F96 background.


White color preview on #400F96 background

This text has white color on #400F96 background.