COLOR #40326C

HEX: #40326C
RGB: (64,50,108)

Color info

#40326C contains red, green and blue colors in about the same proportion. Web safe color of #40326C is #333366 (or #336).

RGB color model

#40326C color RGB value is (64,50,108).

  • red value is 64;
  • green value is 50;
  • blue value is 108.
RGB:
(64,50,108)
(25%,20%,42%)

RGB channels and saturation

R 64 of 255 = 25%
G 50 of 255 = 20%
B 108 of 255 = 42%

64
50
108

R + G + B ~ 29%. #40326C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 50 + 108 = 222 (100%)
R 64 of 222 ~ 28.83%
G 50 of 222 ~ 22.52%
B 108 of 222 ~ 48.65%

%28.83
%22.52
%48.65

CMYK color model

#40326C color CMYK value is (41,54,0,58).

  • cyan value is 40.74%
  • magenta value is 53.70%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(41,54,0,58)
C41M54Y0K58 
(41%,54%,0%,58%)
(0.41/0.54/0.00/0.58)	

CMYK percentages

%40.74
%53.7
%0
%57.65

Codes

Color #40326C in popluar color models

40326C
RGB6450108
HSL254°36.71%30.98%
HSB/HSV254°53.70%42.35%
CMYK40.74%53.70%0.00%
57.65%

Color #40326C in popluar number systems.

HEX40326C
Decimal6450108
Binary10000001100101101100
Octal10062154

Shades and tints

Shades of #40326C

#40326C
(64,50,108)
#3B2E63
(59,46,99)
#362A5A
(54,42,90)
#312651
(49,38,81)
#2C2248
(44,34,72)
#271E3F
(39,30,63)
#221A36
(34,26,54)
#1D162D
(29,22,45)
#181224
(24,18,36)
#130E1B
(19,14,27)
#0E0A12
(14,10,18)
#000000
(0,0,0)

Tints of #40326C

#40326C
(64,50,108)
#514479
(81,68,121)
#625686
(98,86,134)
#736893
(115,104,147)
#847AA0
(132,122,160)
#958CAD
(149,140,173)
#A69EBA
(166,158,186)
#B7B0C7
(183,176,199)
#C8C2D4
(200,194,212)
#D9D4E1
(217,212,225)
#EAE6EE
(234,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40326C color. Also use rgb(64,50,108) instead hex code.

Text Font Color

.myTextColor { color: #40326C; }

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

This text font color is #40326C.


Background Color

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

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

This div background color is #40326C.


Border color

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

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

This div border color is #40326C.


Opacity

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

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

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

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

This text has shadow with #40326C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40326C on black background.


Color preview on white background

This text has color #40326C on white background.



Black color preview on #40326C background

This text has black color on #40326C background.


White color preview on #40326C background

This text has white color on #40326C background.