COLOR #40415A

HEX: #40415A
RGB: (64,65,90)

Color info

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

RGB color model

#40415A color RGB value is (64,65,90).

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

RGB channels and saturation

R 64 of 255 = 25%
G 65 of 255 = 25%
B 90 of 255 = 35%

64
65
90

R + G + B ~ 28%. #40415A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 65 + 90 = 219 (100%)
R 64 of 219 ~ 29.22%
G 65 of 219 ~ 29.68%
B 90 of 219 ~ 41.1%

%29.22
%29.68
%41.1

CMYK color model

#40415A color CMYK value is (29,28,0,65).

  • cyan value is 28.89%
  • magenta value is 27.78%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(29,28,0,65)
C29M28Y0K65 
(29%,28%,0%,65%)
(0.29/0.28/0.00/0.65)	

CMYK percentages

%28.89
%27.78
%0
%64.71

Codes

Color #40415A in popluar color models

40415A
RGB646590
HSL238°16.88%30.20%
HSB/HSV238°28.89%35.29%
CMYK28.89%27.78%0.00%
64.71%

Color #40415A in popluar number systems.

HEX40415A
Decimal646590
Binary100000010000011011010
Octal100101132

Shades and tints

Shades of #40415A

#40415A
(64,65,90)
#3B3C52
(59,60,82)
#36374A
(54,55,74)
#313242
(49,50,66)
#2C2D3A
(44,45,58)
#272832
(39,40,50)
#22232A
(34,35,42)
#1D1E22
(29,30,34)
#18191A
(24,25,26)
#131412
(19,20,18)
#0E0F0A
(14,15,10)
#000000
(0,0,0)

Tints of #40415A

#40415A
(64,65,90)
#515269
(81,82,105)
#626378
(98,99,120)
#737487
(115,116,135)
#848596
(132,133,150)
#9596A5
(149,150,165)
#A6A7B4
(166,167,180)
#B7B8C3
(183,184,195)
#C8C9D2
(200,201,210)
#D9DAE1
(217,218,225)
#EAEBF0
(234,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40415A; }

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

This text font color is #40415A.


Background Color

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

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

This div background color is #40415A.


Border color

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

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

This div border color is #40415A.


Opacity

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

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

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

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

This text has shadow with #40415A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40415A on black background.


Color preview on white background

This text has color #40415A on white background.



Black color preview on #40415A background

This text has black color on #40415A background.


White color preview on #40415A background

This text has white color on #40415A background.