COLOR #40313F

HEX: #40313F
RGB: (64,49,63)

Color info

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

RGB color model

#40313F color RGB value is (64,49,63).

  • red value is 64;
  • green value is 49;
  • blue value is 63.
RGB:
(64,49,63)
(25%,19%,25%)

RGB channels and saturation

R 64 of 255 = 25%
G 49 of 255 = 19%
B 63 of 255 = 25%

64
49
63

R + G + B ~ 23%. #40313F is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 49 + 63 = 176 (100%)
R 64 of 176 ~ 36.36%
G 49 of 176 ~ 27.84%
B 63 of 176 ~ 35.8%

%36.36
%27.84
%35.8

CMYK color model

#40313F color CMYK value is (0,23,2,75).

  • cyan value is 0.00%
  • magenta value is 23.44%
  • yellow value is 1.56%
  • key color value is 74.90%
CMYK:
(0,23,2,75)
C0M23Y2K75 
(0%,23%,2%,75%)
(0.00/0.23/0.02/0.75)	

CMYK percentages

%0
%23.44
%1.56
%74.9

Codes

Color #40313F in popluar color models

40313F
RGB644963
HSL304°13.27%22.16%
HSB/HSV304°23.44%25.10%
CMYK0.00%23.44%1.56%
74.90%

Color #40313F in popluar number systems.

HEX40313F
Decimal644963
Binary1000000110001111111
Octal1006177

Shades and tints

Shades of #40313F

#40313F
(64,49,63)
#3B2D3A
(59,45,58)
#362935
(54,41,53)
#312530
(49,37,48)
#2C212B
(44,33,43)
#271D26
(39,29,38)
#221921
(34,25,33)
#1D151C
(29,21,28)
#181117
(24,17,23)
#130D12
(19,13,18)
#0E090D
(14,9,13)
#000000
(0,0,0)

Tints of #40313F

#40313F
(64,49,63)
#514350
(81,67,80)
#625561
(98,85,97)
#736772
(115,103,114)
#847983
(132,121,131)
#958B94
(149,139,148)
#A69DA5
(166,157,165)
#B7AFB6
(183,175,182)
#C8C1C7
(200,193,199)
#D9D3D8
(217,211,216)
#EAE5E9
(234,229,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40313F color. Also use rgb(64,49,63) instead hex code.

Text Font Color

.myTextColor { color: #40313F; }

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

This text font color is #40313F.


Background Color

.myBgColor { background-color: #40313F; }

<div style="background-color:#40313F">Inner text</div>

This div background color is #40313F.


Border color

.myBorderColor { border: 1px solid #40313F; }

<div style="border:3px solid #40313F">Div</div>

This div border color is #40313F.


Opacity

.myOpacity80 { color: #40313F; opacity: 0.8; }

<p style="color:#40313F;opacity:0.8;">80%</p>

Text with #40313F 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 #40313F;}

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

This text has shadow with #40313F color.

.textShadow {text-shadow: 3px 3px 1px #40313F, 3px 3px 1px red;}

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

This text has shadow with #40313F primary color and red secondary color.


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

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

This text has shadow with #40313F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40313F on black background.


Color preview on white background

This text has color #40313F on white background.



Black color preview on #40313F background

This text has black color on #40313F background.


White color preview on #40313F background

This text has white color on #40313F background.