COLOR #5A6C2A

HEX: #5A6C2A RGB: (90,108,42)

Color info

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

RGB color model

#5A6C2A color RGB value is (90,108,42).

RGB: (90,108,42) (35%, 42%, 16%)

RGB channels and saturation

R 90 of 255 = 35%
G 108 of 255 = 42%
B 42 of 255 = 16%

90
108
42

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

Portions of RGB colors in percentages

R + G + B = 90 + 108 + 42 = 240 (100%)
R 90 of 240 ~ 37.5%
G 108 of 240 ~ 45%
B 42 of 240 ~ 17.5'%

%37.5
%45
%17.5

CMYK color model

#5A6C2A color CMYK value is (17,0,61,58).

  • cyan value is 16.67%
  • magenta value is 0.00%
  • yellow value is 61.11%
  • key color value is 57.65%

CMYK: (17,0,61,58)
C17M0Y61K58 (17%, 0%, 61%, 58%)
(0.17 / 0.00 / 0.61 / 0.58)

CMYK percentages

%16.67
%0
%61.11
%57.65

Codes

Color #5A6C2A in popluar color models

5A 6C 2A
RGB 90 108 42
HSL 76° 44.00% 29.41%
HSB/HSV 76° 61.11% 42.35%
CMYK 16.67% 0.00% 61.11%
57.65%

Color #5A6C2A in popluar number systems.

HEX 5A 6C 2A
Decimal 90 108 42
Binary 1011010 1101100 101010
Octal 132 154 52

Shades and tints

Shades of #5A6C2A

#5A6C2A
(90,108,42)
#526327
(82,99,39)
#4A5A24
(74,90,36)
#425121
(66,81,33)
#3A481E
(58,72,30)
#323F1B
(50,63,27)
#2A3618
(42,54,24)
#222D15
(34,45,21)
#1A2412
(26,36,18)
#121B0F
(18,27,15)
#0A120C
(10,18,12)
#000000
(0,0,0)

Tints of #5A6C2A

#5A6C2A
(90,108,42)
#69793D
(105,121,61)
#788650
(120,134,80)
#879363
(135,147,99)
#96A076
(150,160,118)
#A5AD89
(165,173,137)
#B4BA9C
(180,186,156)
#C3C7AF
(195,199,175)
#D2D4C2
(210,212,194)
#E1E1D5
(225,225,213)
#F0EEE8
(240,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6C2A; }

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

This text font color is #5A6C2A.

Background Color

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

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

This div background color is #5A6C2A.

Border color

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

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

This div border color is #5A6C2A.

Opacity

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

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

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

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

This text has shadow with #5A6C2A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A6C2A.

Preview

Color preview on black background

This text has color #5A6C2A on black background.


Color preview on white background

This text has color #5A6C2A on white background.


Black color preview on #5A6C2A background

This text has black color on #5A6C2A background.


White color preview on #5A6C2A background

This text has white color on #5A6C2A background.


Related colors

Complementary color

Complementary color for #hex is #A593D5.


I love getcolorcode.com

Triadic colors

1 #2A5A6C and #6C2A5A with #5A6C2A are triadic colors.

2 #2A6C5A and #6C5A2A with #5A6C2A are triadic colors.