COLOR #40174A

HEX: #40174A RGB: (64,23,74)

Color info

#40174A contains red, green and blue colors in about the same proportion. Web safe color of #40174A is #330033 (or #303).

RGB color model

#40174A color RGB value is (64,23,74).

RGB: (64,23,74) (25%, 9%, 29%)

RGB channels and saturation

R 64 of 255 = 25%
G 23 of 255 = 9%
B 74 of 255 = 29%

64
23
74

R + G + B ~ 21%. #40174A is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 23 + 74 = 161 (100%)
R 64 of 161 ~ 39.75%
G 23 of 161 ~ 14.29%
B 74 of 161 ~ 45.96'%

%39.75
%14.29
%45.96

CMYK color model

#40174A color CMYK value is (14,69,0,71).

  • cyan value is 13.51%
  • magenta value is 68.92%
  • yellow value is 0.00%
  • key color value is 70.98%
CMYK: (14,69,0,71) C14M69Y0K71 (14%,69%,0%,71%) (0.14/0.69/0.00/0.71) 

CMYK percentages

%13.51
%68.92
%0
%70.98

Codes

Color #40174A in popluar color models

40 17 4A
RGB 64 23 74
HSL 288° 52.58% 19.02%
HSB/HSV 288° 68.92% 29.02%
CMYK 13.51% 68.92% 0.00%
70.98%

Color #40174A in popluar number systems.

HEX 40 17 4A
Decimal 64 23 74
Binary 1000000 10111 1001010
Octal 100 27 112

Shades and tints

Shades of #40174A

#40174A
(64,23,74)
#3B1544
(59,21,68)
#36133E
(54,19,62)
#311138
(49,17,56)
#2C0F32
(44,15,50)
#270D2C
(39,13,44)
#220B26
(34,11,38)
#1D0920
(29,9,32)
#18071A
(24,7,26)
#130514
(19,5,20)
#0E030E
(14,3,14)
#000000
(0,0,0)

Tints of #40174A

#40174A
(64,23,74)
#512C5A
(81,44,90)
#62416A
(98,65,106)
#73567A
(115,86,122)
#846B8A
(132,107,138)
#95809A
(149,128,154)
#A695AA
(166,149,170)
#B7AABA
(183,170,186)
#C8BFCA
(200,191,202)
#D9D4DA
(217,212,218)
#EAE9EA
(234,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40174A color. Also use rgb(64,23,74) instead hex code.

Text Font Color

.myTextColor { color: #40174A; }

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

This text font color is #40174A.

Background Color

.myBgColor { background-color: #40174A; }

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

This div background color is #40174A.

Border color

.myBorderColor { border: 1px solid #40174A; }

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

This div border color is #40174A.

Opacity

.myOpacity80 { color: #40174A; opacity: 0.8; }

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

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

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

This text has shadow with #40174A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40174A.

Preview

Color preview on black background

This text has color #40174A on black background.


Color preview on white background

This text has color #40174A on white background.


Black color preview on #40174A background

This text has black color on #40174A background.


White color preview on #40174A background

This text has white color on #40174A background.


Related colors

Complementary color

Complementary color for #hex is #BFE8B5.


I love getcolorcode.com

Triadic colors

1 #4A4017 and #174A40 with #40174A are triadic colors.

2 #4A1740 and #17404A with #40174A are triadic colors.