COLOR #545840

HEX: #545840 RGB: (84,88,64)

Color info

#545840 contains red, green and blue colors in about the same proportion. Web safe color of #545840 is #666633 (or #663).

RGB color model

#545840 color RGB value is (84,88,64).

RGB: (84,88,64) (33%, 35%, 25%)

RGB channels and saturation

R 84 of 255 = 33%
G 88 of 255 = 35%
B 64 of 255 = 25%

84
88
64

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

Portions of RGB colors in percentages

R + G + B = 84 + 88 + 64 = 236 (100%)
R 84 of 236 ~ 35.59%
G 88 of 236 ~ 37.29%
B 64 of 236 ~ 27.12'%

%35.59
%37.29
%27.12

CMYK color model

#545840 color CMYK value is (5,0,27,65).

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

CMYK: (5,0,27,65)
C5M0Y27K65 (5%, 0%, 27%, 65%)
(0.05 / 0.00 / 0.27 / 0.65)

CMYK percentages

%4.55
%0
%27.27
%65.49

Codes

Color #545840 in popluar color models

54 58 40
RGB 84 88 64
HSL 70° 15.79% 29.80%
HSB/HSV 70° 27.27% 34.51%
CMYK 4.55% 0.00% 27.27%
65.49%

Color #545840 in popluar number systems.

HEX 54 58 40
Decimal 84 88 64
Binary 1010100 1011000 1000000
Octal 124 130 100

Shades and tints

Shades of #545840

#545840
(84,88,64)
#4D503B
(77,80,59)
#464836
(70,72,54)
#3F4031
(63,64,49)
#38382C
(56,56,44)
#313027
(49,48,39)
#2A2822
(42,40,34)
#23201D
(35,32,29)
#1C1818
(28,24,24)
#151013
(21,16,19)
#0E080E
(14,8,14)
#000000
(0,0,0)

Tints of #545840

#545840
(84,88,64)
#636751
(99,103,81)
#727662
(114,118,98)
#818573
(129,133,115)
#909484
(144,148,132)
#9FA395
(159,163,149)
#AEB2A6
(174,178,166)
#BDC1B7
(189,193,183)
#CCD0C8
(204,208,200)
#DBDFD9
(219,223,217)
#EAEEEA
(234,238,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #545840; }

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

This text font color is #545840.

Background Color

.myBgColor { background-color: #545840; }

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

This div background color is #545840.

Border color

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

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

This div border color is #545840.

Opacity

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

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

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

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

This text has shadow with #545840 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #545840.

Preview

Color preview on black background

This text has color #545840 on black background.


Color preview on white background

This text has color #545840 on white background.


Black color preview on #545840 background

This text has black color on #545840 background.


White color preview on #545840 background

This text has white color on #545840 background.


Related colors

Complementary color

Complementary color for #hex is #ABA7BF.


I love getcolorcode.com

Triadic colors

1 #405458 and #584054 with #545840 are triadic colors.

2 #405854 and #585440 with #545840 are triadic colors.