COLOR #5A6F2A

HEX: #5A6F2A
RGB: (90,111,42)

Color info

#5A6F2A contains mainly red and green colors. Web safe color of #5A6F2A is #666633 (or #663).

RGB color model

#5A6F2A color RGB value is (90,111,42).

  • red value is 90;
  • green value is 111;
  • blue value is 42.
RGB:
(90,111,42)
(35%,44%,16%)

RGB channels and saturation

R 90 of 255 = 35%
G 111 of 255 = 44%
B 42 of 255 = 16%

90
111
42

R + G + B ~ 32%. #5A6F2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 111 + 42 = 243 (100%)
R 90 of 243 ~ 37.04%
G 111 of 243 ~ 45.68%
B 42 of 243 ~ 17.28%

%37.04
%45.68
%17.28

CMYK color model

#5A6F2A color CMYK value is (19,0,62,56).

  • cyan value is 18.92%
  • magenta value is 0.00%
  • yellow value is 62.16%
  • key color value is 56.47%
CMYK:
(19,0,62,56)
C19M0Y62K56 
(19%,0%,62%,56%)
(0.19/0.00/0.62/0.56)	

CMYK percentages

%18.92
%0
%62.16
%56.47

Codes

Color #5A6F2A in popluar color models

5A6F2A
RGB9011142
HSL78°45.10%30.00%
HSB/HSV78°62.16%43.53%
CMYK18.92%0.00%62.16%
56.47%

Color #5A6F2A in popluar number systems.

HEX5A6F2A
Decimal9011142
Binary10110101101111101010
Octal13215752

Shades and tints

Shades of #5A6F2A

#5A6F2A
(90,111,42)
#526527
(82,101,39)
#4A5B24
(74,91,36)
#425121
(66,81,33)
#3A471E
(58,71,30)
#323D1B
(50,61,27)
#2A3318
(42,51,24)
#222915
(34,41,21)
#1A1F12
(26,31,18)
#12150F
(18,21,15)
#0A0B0C
(10,11,12)
#000000
(0,0,0)

Tints of #5A6F2A

#5A6F2A
(90,111,42)
#697C3D
(105,124,61)
#788950
(120,137,80)
#879663
(135,150,99)
#96A376
(150,163,118)
#A5B089
(165,176,137)
#B4BD9C
(180,189,156)
#C3CAAF
(195,202,175)
#D2D7C2
(210,215,194)
#E1E4D5
(225,228,213)
#F0F1E8
(240,241,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A6F2A color. Also use rgb(90,111,42) instead hex code.

Text Font Color

.myTextColor { color: #5A6F2A; }

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

This text font color is #5A6F2A.


Background Color

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

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

This div background color is #5A6F2A.


Border color

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

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

This div border color is #5A6F2A.


Opacity

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

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

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

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

This text has shadow with #5A6F2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6F2A on black background.


Color preview on white background

This text has color #5A6F2A on white background.



Black color preview on #5A6F2A background

This text has black color on #5A6F2A background.


White color preview on #5A6F2A background

This text has white color on #5A6F2A background.