COLOR #5A7258

HEX: #5A7258
RGB: (90,114,88)

Color info

#5A7258 contains red, green and blue colors in about the same proportion. Web safe color of #5A7258 is #666666 (or #666).

RGB color model

#5A7258 color RGB value is (90,114,88).

  • red value is 90;
  • green value is 114;
  • blue value is 88.
RGB:
(90,114,88)
(35%,45%,35%)

RGB channels and saturation

R 90 of 255 = 35%
G 114 of 255 = 45%
B 88 of 255 = 35%

90
114
88

R + G + B ~ 38%. #5A7258 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 114 + 88 = 292 (100%)
R 90 of 292 ~ 30.82%
G 114 of 292 ~ 39.04%
B 88 of 292 ~ 30.14%

%30.82
%39.04
%30.14

CMYK color model

#5A7258 color CMYK value is (21,0,23,55).

  • cyan value is 21.05%
  • magenta value is 0.00%
  • yellow value is 22.81%
  • key color value is 55.29%
CMYK:
(21,0,23,55)
C21M0Y23K55 
(21%,0%,23%,55%)
(0.21/0.00/0.23/0.55)	

CMYK percentages

%21.05
%0
%22.81
%55.29

Codes

Color #5A7258 in popluar color models

5A7258
RGB9011488
HSL115°12.87%39.61%
HSB/HSV115°22.81%44.71%
CMYK21.05%0.00%22.81%
55.29%

Color #5A7258 in popluar number systems.

HEX5A7258
Decimal9011488
Binary101101011100101011000
Octal132162130

Shades and tints

Shades of #5A7258

#5A7258
(90,114,88)
#526850
(82,104,80)
#4A5E48
(74,94,72)
#425440
(66,84,64)
#3A4A38
(58,74,56)
#324030
(50,64,48)
#2A3628
(42,54,40)
#222C20
(34,44,32)
#1A2218
(26,34,24)
#121810
(18,24,16)
#0A0E08
(10,14,8)
#000000
(0,0,0)

Tints of #5A7258

#5A7258
(90,114,88)
#697E67
(105,126,103)
#788A76
(120,138,118)
#879685
(135,150,133)
#96A294
(150,162,148)
#A5AEA3
(165,174,163)
#B4BAB2
(180,186,178)
#C3C6C1
(195,198,193)
#D2D2D0
(210,210,208)
#E1DEDF
(225,222,223)
#F0EAEE
(240,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7258 color. Also use rgb(90,114,88) instead hex code.

Text Font Color

.myTextColor { color: #5A7258; }

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

This text font color is #5A7258.


Background Color

.myBgColor { background-color: #5A7258; }

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

This div background color is #5A7258.


Border color

.myBorderColor { border: 1px solid #5A7258; }

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

This div border color is #5A7258.


Opacity

.myOpacity80 { color: #5A7258; opacity: 0.8; }

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

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

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

This text has shadow with #5A7258 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7258 on black background.


Color preview on white background

This text has color #5A7258 on white background.



Black color preview on #5A7258 background

This text has black color on #5A7258 background.


White color preview on #5A7258 background

This text has white color on #5A7258 background.