COLOR #403042

HEX: #403042 RGB: (64,48,66)

Color info

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

RGB color model

#403042 color RGB value is (64,48,66).

RGB: (64,48,66) (25%, 19%, 26%)

RGB channels and saturation

R 64 of 255 = 25%
G 48 of 255 = 19%
B 66 of 255 = 26%

64
48
66

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

Portions of RGB colors in percentages

R + G + B = 64 + 48 + 66 = 178 (100%)
R 64 of 178 ~ 35.96%
G 48 of 178 ~ 26.97%
B 66 of 178 ~ 37.08'%

%35.96
%26.97
%37.08

CMYK color model

#403042 color CMYK value is (3,27,0,74).

  • cyan value is 3.03%
  • magenta value is 27.27%
  • yellow value is 0.00%
  • key color value is 74.12%

CMYK: (3,27,0,74)
C3M27Y0K74 (3%, 27%, 0%, 74%)
(0.03 / 0.27 / 0.00 / 0.74)

CMYK percentages

%3.03
%27.27
%0
%74.12

Codes

Color #403042 in popluar color models

40 30 42
RGB 64 48 66
HSL 293° 15.79% 22.35%
HSB/HSV 293° 27.27% 25.88%
CMYK 3.03% 27.27% 0.00%
74.12%

Color #403042 in popluar number systems.

HEX 40 30 42
Decimal 64 48 66
Binary 1000000 110000 1000010
Octal 100 60 102

Shades and tints

Shades of #403042

#403042
(64,48,66)
#3B2C3C
(59,44,60)
#362836
(54,40,54)
#312430
(49,36,48)
#2C202A
(44,32,42)
#271C24
(39,28,36)
#22181E
(34,24,30)
#1D1418
(29,20,24)
#181012
(24,16,18)
#130C0C
(19,12,12)
#0E0806
(14,8,6)
#000000
(0,0,0)

Tints of #403042

#403042
(64,48,66)
#514253
(81,66,83)
#625464
(98,84,100)
#736675
(115,102,117)
#847886
(132,120,134)
#958A97
(149,138,151)
#A69CA8
(166,156,168)
#B7AEB9
(183,174,185)
#C8C0CA
(200,192,202)
#D9D2DB
(217,210,219)
#EAE4EC
(234,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #403042; }

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

This text font color is #403042.

Background Color

.myBgColor { background-color: #403042; }

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

This div background color is #403042.

Border color

.myBorderColor { border: 1px solid #403042; }

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

This div border color is #403042.

Opacity

.myOpacity80 { color: #403042; opacity: 0.8; }

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

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

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

This text has shadow with #403042 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #403042.

Preview

Color preview on black background

This text has color #403042 on black background.


Color preview on white background

This text has color #403042 on white background.


Black color preview on #403042 background

This text has black color on #403042 background.


White color preview on #403042 background

This text has white color on #403042 background.


Related colors

Complementary color

Complementary color for #hex is #BFCFBD.


I love getcolorcode.com

Triadic colors

1 #424030 and #304240 with #403042 are triadic colors.

2 #423040 and #304042 with #403042 are triadic colors.