COLOR #40095E

HEX: #40095E
RGB: (64,9,94)

Color info

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

RGB color model

#40095E color RGB value is (64,9,94).

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

RGB channels and saturation

R 64 of 255 = 25%
G 9 of 255 = 4%
B 94 of 255 = 37%

64
9
94

R + G + B ~ 22%. #40095E is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 9 + 94 = 167 (100%)
R 64 of 167 ~ 38.32%
G 9 of 167 ~ 5.39%
B 94 of 167 ~ 56.29%

%38.32
%56.29

CMYK color model

#40095E color CMYK value is (32,90,0,63).

  • cyan value is 31.91%
  • magenta value is 90.43%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(32,90,0,63)
C32M90Y0K63 
(32%,90%,0%,63%)
(0.32/0.90/0.00/0.63)	

CMYK percentages

%31.91
%90.43
%0
%63.14

Codes

Color #40095E in popluar color models

40095E
RGB64994
HSL279°82.52%20.20%
HSB/HSV279°90.43%36.86%
CMYK31.91%90.43%0.00%
63.14%

Color #40095E in popluar number systems.

HEX40095E
Decimal64994
Binary100000010011011110
Octal10011136

Shades and tints

Shades of #40095E

#40095E
(64,9,94)
#3B0956
(59,9,86)
#36094E
(54,9,78)
#310946
(49,9,70)
#2C093E
(44,9,62)
#270936
(39,9,54)
#22092E
(34,9,46)
#1D0926
(29,9,38)
#18091E
(24,9,30)
#130916
(19,9,22)
#0E090E
(14,9,14)
#000000
(0,0,0)

Tints of #40095E

#40095E
(64,9,94)
#511F6C
(81,31,108)
#62357A
(98,53,122)
#734B88
(115,75,136)
#846196
(132,97,150)
#9577A4
(149,119,164)
#A68DB2
(166,141,178)
#B7A3C0
(183,163,192)
#C8B9CE
(200,185,206)
#D9CFDC
(217,207,220)
#EAE5EA
(234,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40095E; }

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

This text font color is #40095E.


Background Color

.myBgColor { background-color: #40095E; }

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

This div background color is #40095E.


Border color

.myBorderColor { border: 1px solid #40095E; }

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

This div border color is #40095E.


Opacity

.myOpacity80 { color: #40095E; opacity: 0.8; }

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

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

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

This text has shadow with #40095E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40095E on black background.


Color preview on white background

This text has color #40095E on white background.



Black color preview on #40095E background

This text has black color on #40095E background.


White color preview on #40095E background

This text has white color on #40095E background.