COLOR #40097F

HEX: #40097F
RGB: (64,9,127)

Color info

#40097F contains mainly blue color. Web safe color of #40097F is #330066 (or #306).

RGB color model

#40097F color RGB value is (64,9,127).

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

RGB channels and saturation

R 64 of 255 = 25%
G 9 of 255 = 4%
B 127 of 255 = 50%

64
9
127

R + G + B ~ 26%. #40097F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 9 + 127 = 200 (100%)
R 64 of 200 ~ 32%
G 9 of 200 ~ 4.5%
B 127 of 200 ~ 63.5%

%32
%63.5

CMYK color model

#40097F color CMYK value is (50,93,0,50).

  • cyan value is 49.61%
  • magenta value is 92.91%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(50,93,0,50)
C50M93Y0K50 
(50%,93%,0%,50%)
(0.50/0.93/0.00/0.50)	

CMYK percentages

%49.61
%92.91
%0
%50.2

Codes

Color #40097F in popluar color models

40097F
RGB649127
HSL268°86.76%26.67%
HSB/HSV268°92.91%49.80%
CMYK49.61%92.91%0.00%
50.20%

Color #40097F in popluar number systems.

HEX40097F
Decimal649127
Binary100000010011111111
Octal10011177

Shades and tints

Shades of #40097F

#40097F
(64,9,127)
#3B0974
(59,9,116)
#360969
(54,9,105)
#31095E
(49,9,94)
#2C0953
(44,9,83)
#270948
(39,9,72)
#22093D
(34,9,61)
#1D0932
(29,9,50)
#180927
(24,9,39)
#13091C
(19,9,28)
#0E0911
(14,9,17)
#000000
(0,0,0)

Tints of #40097F

#40097F
(64,9,127)
#511F8A
(81,31,138)
#623595
(98,53,149)
#734BA0
(115,75,160)
#8461AB
(132,97,171)
#9577B6
(149,119,182)
#A68DC1
(166,141,193)
#B7A3CC
(183,163,204)
#C8B9D7
(200,185,215)
#D9CFE2
(217,207,226)
#EAE5ED
(234,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40097F; }

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

This text font color is #40097F.


Background Color

.myBgColor { background-color: #40097F; }

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

This div background color is #40097F.


Border color

.myBorderColor { border: 1px solid #40097F; }

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

This div border color is #40097F.


Opacity

.myOpacity80 { color: #40097F; opacity: 0.8; }

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

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

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

This text has shadow with #40097F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40097F on black background.


Color preview on white background

This text has color #40097F on white background.



Black color preview on #40097F background

This text has black color on #40097F background.


White color preview on #40097F background

This text has white color on #40097F background.