COLOR #400D58

HEX: #400D58 RGB: (64,13,88)

Color info

#400D58 contains mainly red and blue colors. Web safe color of #400D58 is #330066 (or #306).

RGB color model

#400D58 color RGB value is (64,13,88).

RGB: (64,13,88) (25%, 5%, 35%)

RGB channels and saturation

R 64 of 255 = 25%
G 13 of 255 = 5%
B 88 of 255 = 35%

64
13
88

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

Portions of RGB colors in percentages

R + G + B = 64 + 13 + 88 = 165 (100%)
R 64 of 165 ~ 38.79%
G 13 of 165 ~ 7.88%
B 88 of 165 ~ 53.33'%

%38.79
%53.33

CMYK color model

#400D58 color CMYK value is (27,85,0,65).

  • cyan value is 27.27%
  • magenta value is 85.23%
  • yellow value is 0.00%
  • key color value is 65.49%

CMYK: (27,85,0,65)
C27M85Y0K65 (27%, 85%, 0%, 65%)
(0.27 / 0.85 / 0.00 / 0.65)

CMYK percentages

%27.27
%85.23
%0
%65.49

Codes

Color #400D58 in popluar color models

40 0D 58
RGB 64 13 88
HSL 281° 74.26% 19.80%
HSB/HSV 281° 85.23% 34.51%
CMYK 27.27% 85.23% 0.00%
65.49%

Color #400D58 in popluar number systems.

HEX 40 0D 58
Decimal 64 13 88
Binary 1000000 1101 1011000
Octal 100 15 130

Shades and tints

Shades of #400D58

#400D58
(64,13,88)
#3B0C50
(59,12,80)
#360B48
(54,11,72)
#310A40
(49,10,64)
#2C0938
(44,9,56)
#270830
(39,8,48)
#220728
(34,7,40)
#1D0620
(29,6,32)
#180518
(24,5,24)
#130410
(19,4,16)
#0E0308
(14,3,8)
#000000
(0,0,0)

Tints of #400D58

#400D58
(64,13,88)
#512367
(81,35,103)
#623976
(98,57,118)
#734F85
(115,79,133)
#846594
(132,101,148)
#957BA3
(149,123,163)
#A691B2
(166,145,178)
#B7A7C1
(183,167,193)
#C8BDD0
(200,189,208)
#D9D3DF
(217,211,223)
#EAE9EE
(234,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400D58 color. Also use rgb(64,13,88) instead hex code.

Text Font Color

.myTextColor { color: #400D58; }

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

This text font color is #400D58.

Background Color

.myBgColor { background-color: #400D58; }

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

This div background color is #400D58.

Border color

.myBorderColor { border: 1px solid #400D58; }

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

This div border color is #400D58.

Opacity

.myOpacity80 { color: #400D58; opacity: 0.8; }

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

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

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

This text has shadow with #400D58 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #400D58.

Preview

Color preview on black background

This text has color #400D58 on black background.


Color preview on white background

This text has color #400D58 on white background.


Black color preview on #400D58 background

This text has black color on #400D58 background.


White color preview on #400D58 background

This text has white color on #400D58 background.


Related colors

Complementary color

Complementary color for #hex is #BFF2A7.


I love getcolorcode.com

Triadic colors

1 #58400D and #0D5840 with #400D58 are triadic colors.

2 #580D40 and #0D4058 with #400D58 are triadic colors.