COLOR #40095C

HEX: #40095C RGB: (64,9,92)

Color info

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

RGB color model

#40095C color RGB value is (64,9,92).

RGB: (64,9,92) (25%, 4%, 36%)

RGB channels and saturation

R 64 of 255 = 25%
G 9 of 255 = 4%
B 92 of 255 = 36%

64
9
92

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

Portions of RGB colors in percentages

R + G + B = 64 + 9 + 92 = 165 (100%)
R 64 of 165 ~ 38.79%
G 9 of 165 ~ 5.45%
B 92 of 165 ~ 55.76'%

%38.79
%55.76

CMYK color model

#40095C color CMYK value is (30,90,0,64).

  • cyan value is 30.43%
  • magenta value is 90.22%
  • yellow value is 0.00%
  • key color value is 63.92%

CMYK: (30,90,0,64)
C30M90Y0K64 (30%, 90%, 0%, 64%)
(0.30 / 0.90 / 0.00 / 0.64)

CMYK percentages

%30.43
%90.22
%0
%63.92

Codes

Color #40095C in popluar color models

40 09 5C
RGB 64 9 92
HSL 280° 82.18% 19.80%
HSB/HSV 280° 90.22% 36.08%
CMYK 30.43% 90.22% 0.00%
63.92%

Color #40095C in popluar number systems.

HEX 40 09 5C
Decimal 64 9 92
Binary 1000000 1001 1011100
Octal 100 11 134

Shades and tints

Shades of #40095C

#40095C
(64,9,92)
#3B0954
(59,9,84)
#36094C
(54,9,76)
#310944
(49,9,68)
#2C093C
(44,9,60)
#270934
(39,9,52)
#22092C
(34,9,44)
#1D0924
(29,9,36)
#18091C
(24,9,28)
#130914
(19,9,20)
#0E090C
(14,9,12)
#000000
(0,0,0)

Tints of #40095C

#40095C
(64,9,92)
#511F6A
(81,31,106)
#623578
(98,53,120)
#734B86
(115,75,134)
#846194
(132,97,148)
#9577A2
(149,119,162)
#A68DB0
(166,141,176)
#B7A3BE
(183,163,190)
#C8B9CC
(200,185,204)
#D9CFDA
(217,207,218)
#EAE5E8
(234,229,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40095C; }

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

This text font color is #40095C.

Background Color

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

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

This div background color is #40095C.

Border color

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

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

This div border color is #40095C.

Opacity

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

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

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

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

This text has shadow with #40095C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40095C.

Preview

Color preview on black background

This text has color #40095C on black background.


Color preview on white background

This text has color #40095C on white background.


Black color preview on #40095C background

This text has black color on #40095C background.


White color preview on #40095C background

This text has white color on #40095C background.


Related colors

Complementary color

Complementary color for #hex is #BFF6A3.


I love getcolorcode.com

Triadic colors

1 #5C4009 and #095C40 with #40095C are triadic colors.

2 #5C0940 and #09405C with #40095C are triadic colors.