COLOR #545842

HEX: #545842 RGB: (84,88,66)

Color info

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

RGB color model

#545842 color RGB value is (84,88,66).

RGB: (84,88,66) (33%, 35%, 26%)

RGB channels and saturation

R 84 of 255 = 33%
G 88 of 255 = 35%
B 66 of 255 = 26%

84
88
66

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

Portions of RGB colors in percentages

R + G + B = 84 + 88 + 66 = 238 (100%)
R 84 of 238 ~ 35.29%
G 88 of 238 ~ 36.97%
B 66 of 238 ~ 27.73'%

%35.29
%36.97
%27.73

CMYK color model

#545842 color CMYK value is (5,0,25,65).

  • cyan value is 4.55%
  • magenta value is 0.00%
  • yellow value is 25.00%
  • key color value is 65.49%
CMYK: (5,0,25,65) C5M0Y25K65 (5%,0%,25%,65%) (0.05/0.00/0.25/0.65) 

CMYK percentages

%4.55
%0
%25
%65.49

Codes

Color #545842 in popluar color models

54 58 42
RGB 84 88 66
HSL 71° 14.29% 30.20%
HSB/HSV 71° 25.00% 34.51%
CMYK 4.55% 0.00% 25.00%
65.49%

Color #545842 in popluar number systems.

HEX 54 58 42
Decimal 84 88 66
Binary 1010100 1011000 1000010
Octal 124 130 102

Shades and tints

Shades of #545842

#545842
(84,88,66)
#4D503C
(77,80,60)
#464836
(70,72,54)
#3F4030
(63,64,48)
#38382A
(56,56,42)
#313024
(49,48,36)
#2A281E
(42,40,30)
#232018
(35,32,24)
#1C1812
(28,24,18)
#15100C
(21,16,12)
#0E0806
(14,8,6)
#000000
(0,0,0)

Tints of #545842

#545842
(84,88,66)
#636753
(99,103,83)
#727664
(114,118,100)
#818575
(129,133,117)
#909486
(144,148,134)
#9FA397
(159,163,151)
#AEB2A8
(174,178,168)
#BDC1B9
(189,193,185)
#CCD0CA
(204,208,202)
#DBDFDB
(219,223,219)
#EAEEEC
(234,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #545842; }

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

This text font color is #545842.

Background Color

.myBgColor { background-color: #545842; }

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

This div background color is #545842.

Border color

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

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

This div border color is #545842.

Opacity

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

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

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

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

This text has shadow with #545842 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #545842.

Preview

Color preview on black background

This text has color #545842 on black background.


Color preview on white background

This text has color #545842 on white background.


Black color preview on #545842 background

This text has black color on #545842 background.


White color preview on #545842 background

This text has white color on #545842 background.


Related colors

Complementary color

Complementary color for #hex is #ABA7BD.


I love getcolorcode.com

Triadic colors

1 #425458 and #584254 with #545842 are triadic colors.

2 #425854 and #585442 with #545842 are triadic colors.