COLOR #40303D

HEX: #40303D RGB: (64,48,61)

Color info

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

RGB color model

#40303D color RGB value is (64,48,61).

RGB: (64,48,61) (25%, 19%, 24%)

RGB channels and saturation

R 64 of 255 = 25%
G 48 of 255 = 19%
B 61 of 255 = 24%

64
48
61

R + G + B ~ 23%. #40303D is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 48 + 61 = 173 (100%)
R 64 of 173 ~ 36.99%
G 48 of 173 ~ 27.75%
B 61 of 173 ~ 35.26'%

%36.99
%27.75
%35.26

CMYK color model

#40303D color CMYK value is (0,25,5,75).

  • cyan value is 0.00%
  • magenta value is 25.00%
  • yellow value is 4.69%
  • key color value is 74.90%

CMYK: (0,25,5,75)
C0M25Y5K75 (0%, 25%, 5%, 75%)
(0.00 / 0.25 / 0.05 / 0.75)

CMYK percentages

%0
%25
%4.69
%74.9

Codes

Color #40303D in popluar color models

40 30 3D
RGB 64 48 61
HSL 311° 14.29% 21.96%
HSB/HSV 311° 25.00% 25.10%
CMYK 0.00% 25.00% 4.69%
74.90%

Color #40303D in popluar number systems.

HEX 40 30 3D
Decimal 64 48 61
Binary 1000000 110000 111101
Octal 100 60 75

Shades and tints

Shades of #40303D

#40303D
(64,48,61)
#3B2C38
(59,44,56)
#362833
(54,40,51)
#31242E
(49,36,46)
#2C2029
(44,32,41)
#271C24
(39,28,36)
#22181F
(34,24,31)
#1D141A
(29,20,26)
#181015
(24,16,21)
#130C10
(19,12,16)
#0E080B
(14,8,11)
#000000
(0,0,0)

Tints of #40303D

#40303D
(64,48,61)
#51424E
(81,66,78)
#62545F
(98,84,95)
#736670
(115,102,112)
#847881
(132,120,129)
#958A92
(149,138,146)
#A69CA3
(166,156,163)
#B7AEB4
(183,174,180)
#C8C0C5
(200,192,197)
#D9D2D6
(217,210,214)
#EAE4E7
(234,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40303D; }

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

This text font color is #40303D.

Background Color

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

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

This div background color is #40303D.

Border color

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

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

This div border color is #40303D.

Opacity

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

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

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

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

This text has shadow with #40303D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40303D.

Preview

Color preview on black background

This text has color #40303D on black background.


Color preview on white background

This text has color #40303D on white background.


Black color preview on #40303D background

This text has black color on #40303D background.


White color preview on #40303D background

This text has white color on #40303D background.


Related colors

Complementary color

Complementary color for #hex is #BFCFC2.


I love getcolorcode.com

Triadic colors

1 #3D4030 and #303D40 with #40303D are triadic colors.

2 #3D3040 and #30403D with #40303D are triadic colors.