COLOR #40085B

HEX: #40085B
RGB: (64,8,91)

Color info

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

RGB color model

#40085B color RGB value is (64,8,91).

  • red value is 64;
  • green value is 8;
  • blue value is 91.
RGB:
(64,8,91)
(25%,3%,36%)

RGB channels and saturation

R 64 of 255 = 25%
G 8 of 255 = 3%
B 91 of 255 = 36%

64
8
91

R + G + B ~ 21%. #40085B is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 8 + 91 = 163 (100%)
R 64 of 163 ~ 39.26%
G 8 of 163 ~ 4.91%
B 91 of 163 ~ 55.83%

%39.26
%55.83

CMYK color model

#40085B color CMYK value is (30,91,0,64).

  • cyan value is 29.67%
  • magenta value is 91.21%
  • yellow value is 0.00%
  • key color value is 64.31%
CMYK:
(30,91,0,64)
C30M91Y0K64 
(30%,91%,0%,64%)
(0.30/0.91/0.00/0.64)	

CMYK percentages

%29.67
%91.21
%0
%64.31

Codes

Color #40085B in popluar color models

40085B
RGB64891
HSL280°83.84%19.41%
HSB/HSV280°91.21%35.69%
CMYK29.67%91.21%0.00%
64.31%

Color #40085B in popluar number systems.

HEX40085B
Decimal64891
Binary100000010001011011
Octal10010133

Shades and tints

Shades of #40085B

#40085B
(64,8,91)
#3B0853
(59,8,83)
#36084B
(54,8,75)
#310843
(49,8,67)
#2C083B
(44,8,59)
#270833
(39,8,51)
#22082B
(34,8,43)
#1D0823
(29,8,35)
#18081B
(24,8,27)
#130813
(19,8,19)
#0E080B
(14,8,11)
#000000
(0,0,0)

Tints of #40085B

#40085B
(64,8,91)
#511E69
(81,30,105)
#623477
(98,52,119)
#734A85
(115,74,133)
#846093
(132,96,147)
#9576A1
(149,118,161)
#A68CAF
(166,140,175)
#B7A2BD
(183,162,189)
#C8B8CB
(200,184,203)
#D9CED9
(217,206,217)
#EAE4E7
(234,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40085B color. Also use rgb(64,8,91) instead hex code.

Text Font Color

.myTextColor { color: #40085B; }

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

This text font color is #40085B.


Background Color

.myBgColor { background-color: #40085B; }

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

This div background color is #40085B.


Border color

.myBorderColor { border: 1px solid #40085B; }

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

This div border color is #40085B.


Opacity

.myOpacity80 { color: #40085B; opacity: 0.8; }

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

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

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

This text has shadow with #40085B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40085B on black background.


Color preview on white background

This text has color #40085B on white background.



Black color preview on #40085B background

This text has black color on #40085B background.


White color preview on #40085B background

This text has white color on #40085B background.