COLOR #40384C

HEX: #40384C
RGB: (64,56,76)

Color info

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

RGB color model

#40384C color RGB value is (64,56,76).

  • red value is 64;
  • green value is 56;
  • blue value is 76.
RGB:
(64,56,76)
(25%,22%,30%)

RGB channels and saturation

R 64 of 255 = 25%
G 56 of 255 = 22%
B 76 of 255 = 30%

64
56
76

R + G + B ~ 26%. #40384C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 56 + 76 = 196 (100%)
R 64 of 196 ~ 32.65%
G 56 of 196 ~ 28.57%
B 76 of 196 ~ 38.78%

%32.65
%28.57
%38.78

CMYK color model

#40384C color CMYK value is (16,26,0,70).

  • cyan value is 15.79%
  • magenta value is 26.32%
  • yellow value is 0.00%
  • key color value is 70.20%
CMYK:
(16,26,0,70)
C16M26Y0K70 
(16%,26%,0%,70%)
(0.16/0.26/0.00/0.70)	

CMYK percentages

%15.79
%26.32
%0
%70.2

Codes

Color #40384C in popluar color models

40384C
RGB645676
HSL264°15.15%25.88%
HSB/HSV264°26.32%29.80%
CMYK15.79%26.32%0.00%
70.20%

Color #40384C in popluar number systems.

HEX40384C
Decimal645676
Binary10000001110001001100
Octal10070114

Shades and tints

Shades of #40384C

#40384C
(64,56,76)
#3B3346
(59,51,70)
#362E40
(54,46,64)
#31293A
(49,41,58)
#2C2434
(44,36,52)
#271F2E
(39,31,46)
#221A28
(34,26,40)
#1D1522
(29,21,34)
#18101C
(24,16,28)
#130B16
(19,11,22)
#0E0610
(14,6,16)
#000000
(0,0,0)

Tints of #40384C

#40384C
(64,56,76)
#514A5C
(81,74,92)
#625C6C
(98,92,108)
#736E7C
(115,110,124)
#84808C
(132,128,140)
#95929C
(149,146,156)
#A6A4AC
(166,164,172)
#B7B6BC
(183,182,188)
#C8C8CC
(200,200,204)
#D9DADC
(217,218,220)
#EAECEC
(234,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40384C color. Also use rgb(64,56,76) instead hex code.

Text Font Color

.myTextColor { color: #40384C; }

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

This text font color is #40384C.


Background Color

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

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

This div background color is #40384C.


Border color

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

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

This div border color is #40384C.


Opacity

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

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

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

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

This text has shadow with #40384C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40384C on black background.


Color preview on white background

This text has color #40384C on white background.



Black color preview on #40384C background

This text has black color on #40384C background.


White color preview on #40384C background

This text has white color on #40384C background.