COLOR #40355A

HEX: #40355A
RGB: (64,53,90)

Color info

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

RGB color model

#40355A color RGB value is (64,53,90).

  • red value is 64;
  • green value is 53;
  • blue value is 90.
RGB:
(64,53,90)
(25%,21%,35%)

RGB channels and saturation

R 64 of 255 = 25%
G 53 of 255 = 21%
B 90 of 255 = 35%

64
53
90

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

Portions of RGB colors in percentages

R + G + B =
64 + 53 + 90 = 207 (100%)
R 64 of 207 ~ 30.92%
G 53 of 207 ~ 25.6%
B 90 of 207 ~ 43.48%

%30.92
%25.6
%43.48

CMYK color model

#40355A color CMYK value is (29,41,0,65).

  • cyan value is 28.89%
  • magenta value is 41.11%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(29,41,0,65)
C29M41Y0K65 
(29%,41%,0%,65%)
(0.29/0.41/0.00/0.65)	

CMYK percentages

%28.89
%41.11
%0
%64.71

Codes

Color #40355A in popluar color models

40355A
RGB645390
HSL258°25.87%28.04%
HSB/HSV258°41.11%35.29%
CMYK28.89%41.11%0.00%
64.71%

Color #40355A in popluar number systems.

HEX40355A
Decimal645390
Binary10000001101011011010
Octal10065132

Shades and tints

Shades of #40355A

#40355A
(64,53,90)
#3B3152
(59,49,82)
#362D4A
(54,45,74)
#312942
(49,41,66)
#2C253A
(44,37,58)
#272132
(39,33,50)
#221D2A
(34,29,42)
#1D1922
(29,25,34)
#18151A
(24,21,26)
#131112
(19,17,18)
#0E0D0A
(14,13,10)
#000000
(0,0,0)

Tints of #40355A

#40355A
(64,53,90)
#514769
(81,71,105)
#625978
(98,89,120)
#736B87
(115,107,135)
#847D96
(132,125,150)
#958FA5
(149,143,165)
#A6A1B4
(166,161,180)
#B7B3C3
(183,179,195)
#C8C5D2
(200,197,210)
#D9D7E1
(217,215,225)
#EAE9F0
(234,233,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40355A color. Also use rgb(64,53,90) instead hex code.

Text Font Color

.myTextColor { color: #40355A; }

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

This text font color is #40355A.


Background Color

.myBgColor { background-color: #40355A; }

<div style="background-color:#40355A">Inner text</div>

This div background color is #40355A.


Border color

.myBorderColor { border: 1px solid #40355A; }

<div style="border:3px solid #40355A">Div</div>

This div border color is #40355A.


Opacity

.myOpacity80 { color: #40355A; opacity: 0.8; }

<p style="color:#40355A;opacity:0.8;">80%</p>

Text with #40355A 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 #40355A;}

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

This text has shadow with #40355A color.

.textShadow {text-shadow: 3px 3px 1px #40355A, 3px 3px 1px red;}

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

This text has shadow with #40355A primary color and red secondary color.


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

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

This text has shadow with #40355A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40355A on black background.


Color preview on white background

This text has color #40355A on white background.



Black color preview on #40355A background

This text has black color on #40355A background.


White color preview on #40355A background

This text has white color on #40355A background.