COLOR #402755

HEX: #402755 RGB: (64,39,85)

Color info

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

RGB color model

#402755 color RGB value is (64,39,85).

RGB: (64,39,85) (25%, 15%, 33%)

RGB channels and saturation

R 64 of 255 = 25%
G 39 of 255 = 15%
B 85 of 255 = 33%

64
39
85

R + G + B ~ 24%. #402755 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 39 + 85 = 188 (100%)
R 64 of 188 ~ 34.04%
G 39 of 188 ~ 20.74%
B 85 of 188 ~ 45.21'%

%34.04
%20.74
%45.21

CMYK color model

#402755 color CMYK value is (25,54,0,67).

  • cyan value is 24.71%
  • magenta value is 54.12%
  • yellow value is 0.00%
  • key color value is 66.67%

CMYK: (25,54,0,67)
C25M54Y0K67 (25%, 54%, 0%, 67%)
(0.25 / 0.54 / 0.00 / 0.67)

CMYK percentages

%24.71
%54.12
%0
%66.67

Codes

Color #402755 in popluar color models

40 27 55
RGB 64 39 85
HSL 273° 37.10% 24.31%
HSB/HSV 273° 54.12% 33.33%
CMYK 24.71% 54.12% 0.00%
66.67%

Color #402755 in popluar number systems.

HEX 40 27 55
Decimal 64 39 85
Binary 1000000 100111 1010101
Octal 100 47 125

Shades and tints

Shades of #402755

#402755
(64,39,85)
#3B244E
(59,36,78)
#362147
(54,33,71)
#311E40
(49,30,64)
#2C1B39
(44,27,57)
#271832
(39,24,50)
#22152B
(34,21,43)
#1D1224
(29,18,36)
#180F1D
(24,15,29)
#130C16
(19,12,22)
#0E090F
(14,9,15)
#000000
(0,0,0)

Tints of #402755

#402755
(64,39,85)
#513A64
(81,58,100)
#624D73
(98,77,115)
#736082
(115,96,130)
#847391
(132,115,145)
#9586A0
(149,134,160)
#A699AF
(166,153,175)
#B7ACBE
(183,172,190)
#C8BFCD
(200,191,205)
#D9D2DC
(217,210,220)
#EAE5EB
(234,229,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402755 color. Also use rgb(64,39,85) instead hex code.

Text Font Color

.myTextColor { color: #402755; }

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

This text font color is #402755.

Background Color

.myBgColor { background-color: #402755; }

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

This div background color is #402755.

Border color

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

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

This div border color is #402755.

Opacity

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

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

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

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

This text has shadow with #402755 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402755.

Preview

Color preview on black background

This text has color #402755 on black background.


Color preview on white background

This text has color #402755 on white background.


Black color preview on #402755 background

This text has black color on #402755 background.


White color preview on #402755 background

This text has white color on #402755 background.


Related colors

Complementary color

Complementary color for #hex is #BFD8AA.


I love getcolorcode.com

Triadic colors

1 #554027 and #275540 with #402755 are triadic colors.

2 #552740 and #274055 with #402755 are triadic colors.