COLOR #40284D

HEX: #40284D
RGB: (64,40,77)

Color info

#40284D contains red, green and blue colors in about the same proportion. Web safe color of #40284D is #333333 (or #333).

RGB color model

#40284D color RGB value is (64,40,77).

  • red value is 64;
  • green value is 40;
  • blue value is 77.
RGB:
(64,40,77)
(25%,16%,30%)

RGB channels and saturation

R 64 of 255 = 25%
G 40 of 255 = 16%
B 77 of 255 = 30%

64
40
77

R + G + B ~ 24%. #40284D is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 40 + 77 = 181 (100%)
R 64 of 181 ~ 35.36%
G 40 of 181 ~ 22.1%
B 77 of 181 ~ 42.54%

%35.36
%22.1
%42.54

CMYK color model

#40284D color CMYK value is (17,48,0,70).

  • cyan value is 16.88%
  • magenta value is 48.05%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK:
(17,48,0,70)
C17M48Y0K70 
(17%,48%,0%,70%)
(0.17/0.48/0.00/0.70)	

CMYK percentages

%16.88
%48.05
%0
%69.8

Codes

Color #40284D in popluar color models

40284D
RGB644077
HSL279°31.62%22.94%
HSB/HSV279°48.05%30.20%
CMYK16.88%48.05%0.00%
69.80%

Color #40284D in popluar number systems.

HEX40284D
Decimal644077
Binary10000001010001001101
Octal10050115

Shades and tints

Shades of #40284D

#40284D
(64,40,77)
#3B2546
(59,37,70)
#36223F
(54,34,63)
#311F38
(49,31,56)
#2C1C31
(44,28,49)
#27192A
(39,25,42)
#221623
(34,22,35)
#1D131C
(29,19,28)
#181015
(24,16,21)
#130D0E
(19,13,14)
#0E0A07
(14,10,7)
#000000
(0,0,0)

Tints of #40284D

#40284D
(64,40,77)
#513B5D
(81,59,93)
#624E6D
(98,78,109)
#73617D
(115,97,125)
#84748D
(132,116,141)
#95879D
(149,135,157)
#A69AAD
(166,154,173)
#B7ADBD
(183,173,189)
#C8C0CD
(200,192,205)
#D9D3DD
(217,211,221)
#EAE6ED
(234,230,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40284D color. Also use rgb(64,40,77) instead hex code.

Text Font Color

.myTextColor { color: #40284D; }

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

This text font color is #40284D.


Background Color

.myBgColor { background-color: #40284D; }

<div style="background-color:#40284D">Inner text</div>

This div background color is #40284D.


Border color

.myBorderColor { border: 1px solid #40284D; }

<div style="border:3px solid #40284D">Div</div>

This div border color is #40284D.


Opacity

.myOpacity80 { color: #40284D; opacity: 0.8; }

<p style="color:#40284D;opacity:0.8;">80%</p>

Text with #40284D 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 #40284D;}

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

This text has shadow with #40284D color.

.textShadow {text-shadow: 3px 3px 1px #40284D, 3px 3px 1px red;}

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

This text has shadow with #40284D primary color and red secondary color.


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

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

This text has shadow with #40284D and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40284D on black background.


Color preview on white background

This text has color #40284D on white background.



Black color preview on #40284D background

This text has black color on #40284D background.


White color preview on #40284D background

This text has white color on #40284D background.