COLOR #402248

HEX: #402248
RGB: (64,34,72)

Color info

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

RGB color model

#402248 color RGB value is (64,34,72).

  • red value is 64;
  • green value is 34;
  • blue value is 72.
RGB:
(64,34,72)
(25%,13%,28%)

RGB channels and saturation

R 64 of 255 = 25%
G 34 of 255 = 13%
B 72 of 255 = 28%

64
34
72

R + G + B ~ 22%. #402248 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 34 + 72 = 170 (100%)
R 64 of 170 ~ 37.65%
G 34 of 170 ~ 20%
B 72 of 170 ~ 42.35%

%37.65
%20
%42.35

CMYK color model

#402248 color CMYK value is (11,53,0,72).

  • cyan value is 11.11%
  • magenta value is 52.78%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(11,53,0,72)
C11M53Y0K72 
(11%,53%,0%,72%)
(0.11/0.53/0.00/0.72)	

CMYK percentages

%11.11
%52.78
%0
%71.76

Codes

Color #402248 in popluar color models

402248
RGB643472
HSL287°35.85%20.78%
HSB/HSV287°52.78%28.24%
CMYK11.11%52.78%0.00%
71.76%

Color #402248 in popluar number systems.

HEX402248
Decimal643472
Binary10000001000101001000
Octal10042110

Shades and tints

Shades of #402248

#402248
(64,34,72)
#3B1F42
(59,31,66)
#361C3C
(54,28,60)
#311936
(49,25,54)
#2C1630
(44,22,48)
#27132A
(39,19,42)
#221024
(34,16,36)
#1D0D1E
(29,13,30)
#180A18
(24,10,24)
#130712
(19,7,18)
#0E040C
(14,4,12)
#000000
(0,0,0)

Tints of #402248

#402248
(64,34,72)
#513658
(81,54,88)
#624A68
(98,74,104)
#735E78
(115,94,120)
#847288
(132,114,136)
#958698
(149,134,152)
#A69AA8
(166,154,168)
#B7AEB8
(183,174,184)
#C8C2C8
(200,194,200)
#D9D6D8
(217,214,216)
#EAEAE8
(234,234,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402248 color. Also use rgb(64,34,72) instead hex code.

Text Font Color

.myTextColor { color: #402248; }

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

This text font color is #402248.


Background Color

.myBgColor { background-color: #402248; }

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

This div background color is #402248.


Border color

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

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

This div border color is #402248.


Opacity

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

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

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

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

This text has shadow with #402248 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402248 on black background.


Color preview on white background

This text has color #402248 on white background.



Black color preview on #402248 background

This text has black color on #402248 background.


White color preview on #402248 background

This text has white color on #402248 background.