COLOR #402C63

HEX: #402C63 RGB: (64,44,99)

Color info

#402C63 contains red, green and blue colors in about the same proportion. Web safe color of #402C63 is #333366 (or #336).

RGB color model

#402C63 color RGB value is (64,44,99).

RGB: (64,44,99) (25%, 17%, 39%)

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 99 of 255 = 39%

64
44
99

R + G + B ~ 27%. #402C63 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 44 + 99 = 207 (100%)
R 64 of 207 ~ 30.92%
G 44 of 207 ~ 21.26%
B 99 of 207 ~ 47.83'%

%30.92
%21.26
%47.83

CMYK color model

#402C63 color CMYK value is (35,56,0,61).

  • cyan value is 35.35%
  • magenta value is 55.56%
  • yellow value is 0.00%
  • key color value is 61.18%

CMYK: (35,56,0,61)
C35M56Y0K61 (35%, 56%, 0%, 61%)
(0.35 / 0.56 / 0.00 / 0.61)

CMYK percentages

%35.35
%55.56
%0
%61.18

Codes

Color #402C63 in popluar color models

40 2C 63
RGB 64 44 99
HSL 262° 38.46% 28.04%
HSB/HSV 262° 55.56% 38.82%
CMYK 35.35% 55.56% 0.00%
61.18%

Color #402C63 in popluar number systems.

HEX 40 2C 63
Decimal 64 44 99
Binary 1000000 101100 1100011
Octal 100 54 143

Shades and tints

Shades of #402C63

#402C63
(64,44,99)
#3B285A
(59,40,90)
#362451
(54,36,81)
#312048
(49,32,72)
#2C1C3F
(44,28,63)
#271836
(39,24,54)
#22142D
(34,20,45)
#1D1024
(29,16,36)
#180C1B
(24,12,27)
#130812
(19,8,18)
#0E0409
(14,4,9)
#000000
(0,0,0)

Tints of #402C63

#402C63
(64,44,99)
#513F71
(81,63,113)
#62527F
(98,82,127)
#73658D
(115,101,141)
#84789B
(132,120,155)
#958BA9
(149,139,169)
#A69EB7
(166,158,183)
#B7B1C5
(183,177,197)
#C8C4D3
(200,196,211)
#D9D7E1
(217,215,225)
#EAEAEF
(234,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402C63 color. Also use rgb(64,44,99) instead hex code.

Text Font Color

.myTextColor { color: #402C63; }

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

This text font color is #402C63.

Background Color

.myBgColor { background-color: #402C63; }

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

This div background color is #402C63.

Border color

.myBorderColor { border: 1px solid #402C63; }

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

This div border color is #402C63.

Opacity

.myOpacity80 { color: #402C63; opacity: 0.8; }

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

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

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

This text has shadow with #402C63 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402C63.

Preview

Color preview on black background

This text has color #402C63 on black background.


Color preview on white background

This text has color #402C63 on white background.


Black color preview on #402C63 background

This text has black color on #402C63 background.


White color preview on #402C63 background

This text has white color on #402C63 background.


Related colors

Complementary color

Complementary color for #hex is #BFD39C.


I love getcolorcode.com

Triadic colors

1 #63402C and #2C6340 with #402C63 are triadic colors.

2 #632C40 and #2C4063 with #402C63 are triadic colors.