COLOR #40525C

HEX: #40525C RGB: (64,82,92)

Color info

#40525C contains red, green and blue colors in about the same proportion. Web safe color of #40525C is #336666 (or #366).

RGB color model

#40525C color RGB value is (64,82,92).

RGB: (64,82,92) (25%, 32%, 36%)

RGB channels and saturation

R 64 of 255 = 25%
G 82 of 255 = 32%
B 92 of 255 = 36%

64
82
92

R + G + B ~ 31%. #40525C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 82 + 92 = 238 (100%)
R 64 of 238 ~ 26.89%
G 82 of 238 ~ 34.45%
B 92 of 238 ~ 38.66'%

%26.89
%34.45
%38.66

CMYK color model

#40525C color CMYK value is (30,11,0,64).

  • cyan value is 30.43%
  • magenta value is 10.87%
  • yellow value is 0.00%
  • key color value is 63.92%

CMYK: (30,11,0,64)
C30M11Y0K64 (30%, 11%, 0%, 64%)
(0.30 / 0.11 / 0.00 / 0.64)

CMYK percentages

%30.43
%10.87
%0
%63.92

Codes

Color #40525C in popluar color models

40 52 5C
RGB 64 82 92
HSL 201° 17.95% 30.59%
HSB/HSV 201° 30.43% 36.08%
CMYK 30.43% 10.87% 0.00%
63.92%

Color #40525C in popluar number systems.

HEX 40 52 5C
Decimal 64 82 92
Binary 1000000 1010010 1011100
Octal 100 122 134

Shades and tints

Shades of #40525C

#40525C
(64,82,92)
#3B4B54
(59,75,84)
#36444C
(54,68,76)
#313D44
(49,61,68)
#2C363C
(44,54,60)
#272F34
(39,47,52)
#22282C
(34,40,44)
#1D2124
(29,33,36)
#181A1C
(24,26,28)
#131314
(19,19,20)
#0E0C0C
(14,12,12)
#000000
(0,0,0)

Tints of #40525C

#40525C
(64,82,92)
#51616A
(81,97,106)
#627078
(98,112,120)
#737F86
(115,127,134)
#848E94
(132,142,148)
#959DA2
(149,157,162)
#A6ACB0
(166,172,176)
#B7BBBE
(183,187,190)
#C8CACC
(200,202,204)
#D9D9DA
(217,217,218)
#EAE8E8
(234,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40525C color. Also use rgb(64,82,92) instead hex code.

Text Font Color

.myTextColor { color: #40525C; }

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

This text font color is #40525C.

Background Color

.myBgColor { background-color: #40525C; }

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

This div background color is #40525C.

Border color

.myBorderColor { border: 1px solid #40525C; }

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

This div border color is #40525C.

Opacity

.myOpacity80 { color: #40525C; opacity: 0.8; }

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

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

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

This text has shadow with #40525C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40525C.

Preview

Color preview on black background

This text has color #40525C on black background.


Color preview on white background

This text has color #40525C on white background.


Black color preview on #40525C background

This text has black color on #40525C background.


White color preview on #40525C background

This text has white color on #40525C background.


Related colors

Complementary color

Complementary color for #hex is #BFADA3.


I love getcolorcode.com

Triadic colors

1 #5C4052 and #525C40 with #40525C are triadic colors.

2 #5C5240 and #52405C with #40525C are triadic colors.