COLOR #402328

HEX: #402328 RGB: (64,35,40)

Color info

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

RGB color model

#402328 color RGB value is (64,35,40).

RGB: (64,35,40) (25%, 14%, 16%)

RGB channels and saturation

R 64 of 255 = 25%
G 35 of 255 = 14%
B 40 of 255 = 16%

64
35
40

R + G + B ~ 18%. #402328 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 35 + 40 = 139 (100%)
R 64 of 139 ~ 46.04%
G 35 of 139 ~ 25.18%
B 40 of 139 ~ 28.78'%

%46.04
%25.18
%28.78

CMYK color model

#402328 color CMYK value is (0,45,38,75).

  • cyan value is 0.00%
  • magenta value is 45.31%
  • yellow value is 37.50%
  • key color value is 74.90%

CMYK: (0,45,38,75)
C0M45Y38K75 (0%, 45%, 38%, 75%)
(0.00 / 0.45 / 0.38 / 0.75)

CMYK percentages

%0
%45.31
%37.5
%74.9

Codes

Color #402328 in popluar color models

40 23 28
RGB 64 35 40
HSL 350° 29.29% 19.41%
HSB/HSV 350° 45.31% 25.10%
CMYK 0.00% 45.31% 37.50%
74.90%

Color #402328 in popluar number systems.

HEX 40 23 28
Decimal 64 35 40
Binary 1000000 100011 101000
Octal 100 43 50

Shades and tints

Shades of #402328

#402328
(64,35,40)
#3B2025
(59,32,37)
#361D22
(54,29,34)
#311A1F
(49,26,31)
#2C171C
(44,23,28)
#271419
(39,20,25)
#221116
(34,17,22)
#1D0E13
(29,14,19)
#180B10
(24,11,16)
#13080D
(19,8,13)
#0E050A
(14,5,10)
#000000
(0,0,0)

Tints of #402328

#402328
(64,35,40)
#51373B
(81,55,59)
#624B4E
(98,75,78)
#735F61
(115,95,97)
#847374
(132,115,116)
#958787
(149,135,135)
#A69B9A
(166,155,154)
#B7AFAD
(183,175,173)
#C8C3C0
(200,195,192)
#D9D7D3
(217,215,211)
#EAEBE6
(234,235,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402328 color. Also use rgb(64,35,40) instead hex code.

Text Font Color

.myTextColor { color: #402328; }

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

This text font color is #402328.

Background Color

.myBgColor { background-color: #402328; }

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

This div background color is #402328.

Border color

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

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

This div border color is #402328.

Opacity

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

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

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

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

This text has shadow with #402328 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402328.

Preview

Color preview on black background

This text has color #402328 on black background.


Color preview on white background

This text has color #402328 on white background.


Black color preview on #402328 background

This text has black color on #402328 background.


White color preview on #402328 background

This text has white color on #402328 background.


Related colors

Complementary color

Complementary color for #hex is #BFDCD7.


I love getcolorcode.com

Triadic colors

1 #284023 and #232840 with #402328 are triadic colors.

2 #282340 and #234028 with #402328 are triadic colors.