COLOR #40304D

HEX: #40304D
RGB: (64,48,77)

Color info

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

RGB color model

#40304D color RGB value is (64,48,77).

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

RGB channels and saturation

R 64 of 255 = 25%
G 48 of 255 = 19%
B 77 of 255 = 30%

64
48
77

R + G + B ~ 25%. #40304D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 48 + 77 = 189 (100%)
R 64 of 189 ~ 33.86%
G 48 of 189 ~ 25.4%
B 77 of 189 ~ 40.74%

%33.86
%25.4
%40.74

CMYK color model

#40304D color CMYK value is (17,38,0,70).

  • cyan value is 16.88%
  • magenta value is 37.66%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK:
(17,38,0,70)
C17M38Y0K70 
(17%,38%,0%,70%)
(0.17/0.38/0.00/0.70)	

CMYK percentages

%16.88
%37.66
%0
%69.8

Codes

Color #40304D in popluar color models

40304D
RGB644877
HSL273°23.20%24.51%
HSB/HSV273°37.66%30.20%
CMYK16.88%37.66%0.00%
69.80%

Color #40304D in popluar number systems.

HEX40304D
Decimal644877
Binary10000001100001001101
Octal10060115

Shades and tints

Shades of #40304D

#40304D
(64,48,77)
#3B2C46
(59,44,70)
#36283F
(54,40,63)
#312438
(49,36,56)
#2C2031
(44,32,49)
#271C2A
(39,28,42)
#221823
(34,24,35)
#1D141C
(29,20,28)
#181015
(24,16,21)
#130C0E
(19,12,14)
#0E0807
(14,8,7)
#000000
(0,0,0)

Tints of #40304D

#40304D
(64,48,77)
#51425D
(81,66,93)
#62546D
(98,84,109)
#73667D
(115,102,125)
#84788D
(132,120,141)
#958A9D
(149,138,157)
#A69CAD
(166,156,173)
#B7AEBD
(183,174,189)
#C8C0CD
(200,192,205)
#D9D2DD
(217,210,221)
#EAE4ED
(234,228,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40304D; }

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

This text font color is #40304D.


Background Color

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

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

This div background color is #40304D.


Border color

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

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

This div border color is #40304D.


Opacity

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

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

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

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

This text has shadow with #40304D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40304D on black background.


Color preview on white background

This text has color #40304D on white background.



Black color preview on #40304D background

This text has black color on #40304D background.


White color preview on #40304D background

This text has white color on #40304D background.