COLOR #400950

HEX: #400950
RGB: (64,9,80)

Color info

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

RGB color model

#400950 color RGB value is (64,9,80).

  • red value is 64;
  • green value is 9;
  • blue value is 80.
RGB:
(64,9,80)
(25%,4%,31%)

RGB channels and saturation

R 64 of 255 = 25%
G 9 of 255 = 4%
B 80 of 255 = 31%

64
9
80

R + G + B ~ 20%. #400950 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 9 + 80 = 153 (100%)
R 64 of 153 ~ 41.83%
G 9 of 153 ~ 5.88%
B 80 of 153 ~ 52.29%

%41.83
%52.29

CMYK color model

#400950 color CMYK value is (20,89,0,69).

  • cyan value is 20.00%
  • magenta value is 88.75%
  • yellow value is 0.00%
  • key color value is 68.63%
CMYK:
(20,89,0,69)
C20M89Y0K69 
(20%,89%,0%,69%)
(0.20/0.89/0.00/0.69)	

CMYK percentages

%20
%88.75
%0
%68.63

Codes

Color #400950 in popluar color models

400950
RGB64980
HSL286°79.78%17.45%
HSB/HSV286°88.75%31.37%
CMYK20.00%88.75%0.00%
68.63%

Color #400950 in popluar number systems.

HEX400950
Decimal64980
Binary100000010011010000
Octal10011120

Shades and tints

Shades of #400950

#400950
(64,9,80)
#3B0949
(59,9,73)
#360942
(54,9,66)
#31093B
(49,9,59)
#2C0934
(44,9,52)
#27092D
(39,9,45)
#220926
(34,9,38)
#1D091F
(29,9,31)
#180918
(24,9,24)
#130911
(19,9,17)
#0E090A
(14,9,10)
#000000
(0,0,0)

Tints of #400950

#400950
(64,9,80)
#511F5F
(81,31,95)
#62356E
(98,53,110)
#734B7D
(115,75,125)
#84618C
(132,97,140)
#95779B
(149,119,155)
#A68DAA
(166,141,170)
#B7A3B9
(183,163,185)
#C8B9C8
(200,185,200)
#D9CFD7
(217,207,215)
#EAE5E6
(234,229,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400950 color. Also use rgb(64,9,80) instead hex code.

Text Font Color

.myTextColor { color: #400950; }

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

This text font color is #400950.


Background Color

.myBgColor { background-color: #400950; }

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

This div background color is #400950.


Border color

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

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

This div border color is #400950.


Opacity

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

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

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

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

This text has shadow with #400950 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #400950 on black background.


Color preview on white background

This text has color #400950 on white background.



Black color preview on #400950 background

This text has black color on #400950 background.


White color preview on #400950 background

This text has white color on #400950 background.