COLOR #40095F

HEX: #40095F RGB: (64,9,95)

Color info

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

RGB color model

#40095F color RGB value is (64,9,95).

RGB: (64,9,95) (25%, 4%, 37%)

RGB channels and saturation

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

64
9
95

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

Portions of RGB colors in percentages

R + G + B = 64 + 9 + 95 = 168 (100%)
R 64 of 168 ~ 38.1%
G 9 of 168 ~ 5.36%
B 95 of 168 ~ 56.55'%

%38.1
%56.55

CMYK color model

#40095F color CMYK value is (33,91,0,63).

  • cyan value is 32.63%
  • magenta value is 90.53%
  • yellow value is 0.00%
  • key color value is 62.75%

CMYK: (33,91,0,63)
C33M91Y0K63 (33%, 91%, 0%, 63%)
(0.33 / 0.91 / 0.00 / 0.63)

CMYK percentages

%32.63
%90.53
%0
%62.75

Codes

Color #40095F in popluar color models

40 09 5F
RGB 64 9 95
HSL 278° 82.69% 20.39%
HSB/HSV 278° 90.53% 37.25%
CMYK 32.63% 90.53% 0.00%
62.75%

Color #40095F in popluar number systems.

HEX 40 09 5F
Decimal 64 9 95
Binary 1000000 1001 1011111
Octal 100 11 137

Shades and tints

Shades of #40095F

#40095F
(64,9,95)
#3B0957
(59,9,87)
#36094F
(54,9,79)
#310947
(49,9,71)
#2C093F
(44,9,63)
#270937
(39,9,55)
#22092F
(34,9,47)
#1D0927
(29,9,39)
#18091F
(24,9,31)
#130917
(19,9,23)
#0E090F
(14,9,15)
#000000
(0,0,0)

Tints of #40095F

#40095F
(64,9,95)
#511F6D
(81,31,109)
#62357B
(98,53,123)
#734B89
(115,75,137)
#846197
(132,97,151)
#9577A5
(149,119,165)
#A68DB3
(166,141,179)
#B7A3C1
(183,163,193)
#C8B9CF
(200,185,207)
#D9CFDD
(217,207,221)
#EAE5EB
(234,229,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40095F; }

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

This text font color is #40095F.

Background Color

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

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

This div background color is #40095F.

Border color

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

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

This div border color is #40095F.

Opacity

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

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

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

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

This text has shadow with #40095F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40095F.

Preview

Color preview on black background

This text has color #40095F on black background.


Color preview on white background

This text has color #40095F on white background.


Black color preview on #40095F background

This text has black color on #40095F background.


White color preview on #40095F background

This text has white color on #40095F background.


Related colors

Complementary color

Complementary color for #hex is #BFF6A0.


I love getcolorcode.com

Triadic colors

1 #5F4009 and #095F40 with #40095F are triadic colors.

2 #5F0940 and #09405F with #40095F are triadic colors.