COLOR #40276B

HEX: #40276B
RGB: (64,39,107)

Color info

#40276B contains mainly red and blue colors. Web safe color of #40276B is #333366 (or #336).

RGB color model

#40276B color RGB value is (64,39,107).

  • red value is 64;
  • green value is 39;
  • blue value is 107.
RGB:
(64,39,107)
(25%,15%,42%)

RGB channels and saturation

R 64 of 255 = 25%
G 39 of 255 = 15%
B 107 of 255 = 42%

64
39
107

R + G + B ~ 27%. #40276B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 39 + 107 = 210 (100%)
R 64 of 210 ~ 30.48%
G 39 of 210 ~ 18.57%
B 107 of 210 ~ 50.95%

%30.48
%18.57
%50.95

CMYK color model

#40276B color CMYK value is (40,64,0,58).

  • cyan value is 40.19%
  • magenta value is 63.55%
  • yellow value is 0.00%
  • key color value is 58.04%
CMYK:
(40,64,0,58)
C40M64Y0K58 
(40%,64%,0%,58%)
(0.40/0.64/0.00/0.58)	

CMYK percentages

%40.19
%63.55
%0
%58.04

Codes

Color #40276B in popluar color models

40276B
RGB6439107
HSL262°46.58%28.63%
HSB/HSV262°63.55%41.96%
CMYK40.19%63.55%0.00%
58.04%

Color #40276B in popluar number systems.

HEX40276B
Decimal6439107
Binary10000001001111101011
Octal10047153

Shades and tints

Shades of #40276B

#40276B
(64,39,107)
#3B2462
(59,36,98)
#362159
(54,33,89)
#311E50
(49,30,80)
#2C1B47
(44,27,71)
#27183E
(39,24,62)
#221535
(34,21,53)
#1D122C
(29,18,44)
#180F23
(24,15,35)
#130C1A
(19,12,26)
#0E0911
(14,9,17)
#000000
(0,0,0)

Tints of #40276B

#40276B
(64,39,107)
#513A78
(81,58,120)
#624D85
(98,77,133)
#736092
(115,96,146)
#84739F
(132,115,159)
#9586AC
(149,134,172)
#A699B9
(166,153,185)
#B7ACC6
(183,172,198)
#C8BFD3
(200,191,211)
#D9D2E0
(217,210,224)
#EAE5ED
(234,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40276B color. Also use rgb(64,39,107) instead hex code.

Text Font Color

.myTextColor { color: #40276B; }

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

This text font color is #40276B.


Background Color

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

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

This div background color is #40276B.


Border color

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

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

This div border color is #40276B.


Opacity

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

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

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

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

This text has shadow with #40276B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40276B on black background.


Color preview on white background

This text has color #40276B on white background.



Black color preview on #40276B background

This text has black color on #40276B background.


White color preview on #40276B background

This text has white color on #40276B background.