COLOR #545242

HEX: #545242
RGB: (84,82,66)

Color info

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

RGB color model

#545242 color RGB value is (84,82,66).

  • red value is 84;
  • green value is 82;
  • blue value is 66.
RGB:
(84,82,66)
(33%,32%,26%)

RGB channels and saturation

R 84 of 255 = 33%
G 82 of 255 = 32%
B 66 of 255 = 26%

84
82
66

R + G + B ~ 30%. #545242 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
84 + 82 + 66 = 232 (100%)
R 84 of 232 ~ 36.21%
G 82 of 232 ~ 35.34%
B 66 of 232 ~ 28.45%

%36.21
%35.34
%28.45

CMYK color model

#545242 color CMYK value is (0,2,21,67).

  • cyan value is 0.00%
  • magenta value is 2.38%
  • yellow value is 21.43%
  • key color value is 67.06%
CMYK:
(0,2,21,67)
C0M2Y21K67 
(0%,2%,21%,67%)
(0.00/0.02/0.21/0.67)	

CMYK percentages

%0
%2.38
%21.43
%67.06

Codes

Color #545242 in popluar color models

545242
RGB848266
HSL53°12.00%29.41%
HSB/HSV53°21.43%32.94%
CMYK0.00%2.38%21.43%
67.06%

Color #545242 in popluar number systems.

HEX545242
Decimal848266
Binary101010010100101000010
Octal124122102

Shades and tints

Shades of #545242

#545242
(84,82,66)
#4D4B3C
(77,75,60)
#464436
(70,68,54)
#3F3D30
(63,61,48)
#38362A
(56,54,42)
#312F24
(49,47,36)
#2A281E
(42,40,30)
#232118
(35,33,24)
#1C1A12
(28,26,18)
#15130C
(21,19,12)
#0E0C06
(14,12,6)
#000000
(0,0,0)

Tints of #545242

#545242
(84,82,66)
#636153
(99,97,83)
#727064
(114,112,100)
#817F75
(129,127,117)
#908E86
(144,142,134)
#9F9D97
(159,157,151)
#AEACA8
(174,172,168)
#BDBBB9
(189,187,185)
#CCCACA
(204,202,202)
#DBD9DB
(219,217,219)
#EAE8EC
(234,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #545242; }

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

This text font color is #545242.


Background Color

.myBgColor { background-color: #545242; }

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

This div background color is #545242.


Border color

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

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

This div border color is #545242.


Opacity

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

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

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

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

This text has shadow with #545242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #545242 on black background.


Color preview on white background

This text has color #545242 on white background.



Black color preview on #545242 background

This text has black color on #545242 background.


White color preview on #545242 background

This text has white color on #545242 background.