COLOR #5A5002

HEX: #5A5002 RGB: (90,80,2)

Color info

#5A5002 contains mainly red and green colors. Web safe color of #5A5002 is #666600 (or #660).

RGB color model

#5A5002 color RGB value is (90,80,2).

RGB: (90,80,2) (35%, 31%, 1%)

RGB channels and saturation

R 90 of 255 = 35%
G 80 of 255 = 31%
B 2 of 255 = 1%

90
80
2

R + G + B ~ 22%. #5A5002 is dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 80 + 2 = 172 (100%)
R 90 of 172 ~ 52.33%
G 80 of 172 ~ 46.51%
B 2 of 172 ~ 1.16'%

%52.33
%46.51

CMYK color model

#5A5002 color CMYK value is (0,11,98,65).

  • cyan value is 0.00%
  • magenta value is 11.11%
  • yellow value is 97.78%
  • key color value is 64.71%

CMYK: (0,11,98,65)
C0M11Y98K65 (0%, 11%, 98%, 65%)
(0.00 / 0.11 / 0.98 / 0.65)

CMYK percentages

%0
%11.11
%97.78
%64.71

Codes

Color #5A5002 in popluar color models

5A 50 02
RGB 90 80 2
HSL 53° 95.65% 18.04%
HSB/HSV 53° 97.78% 35.29%
CMYK 0.00% 11.11% 97.78%
64.71%

Color #5A5002 in popluar number systems.

HEX 5A 50 02
Decimal 90 80 2
Binary 1011010 1010000 10
Octal 132 120 2

Shades and tints

Shades of #5A5002

#5A5002
(90,80,2)
#524902
(82,73,2)
#4A4202
(74,66,2)
#423B02
(66,59,2)
#3A3402
(58,52,2)
#322D02
(50,45,2)
#2A2602
(42,38,2)
#221F02
(34,31,2)
#1A1802
(26,24,2)
#121102
(18,17,2)
#0A0A02
(10,10,2)
#000000
(0,0,0)

Tints of #5A5002

#5A5002
(90,80,2)
#695F19
(105,95,25)
#786E30
(120,110,48)
#877D47
(135,125,71)
#968C5E
(150,140,94)
#A59B75
(165,155,117)
#B4AA8C
(180,170,140)
#C3B9A3
(195,185,163)
#D2C8BA
(210,200,186)
#E1D7D1
(225,215,209)
#F0E6E8
(240,230,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5002 color. Also use rgb(90,80,2) instead hex code.

Text Font Color

.myTextColor { color: #5A5002; }

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

This text font color is #5A5002.

Background Color

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

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

This div background color is #5A5002.

Border color

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

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

This div border color is #5A5002.

Opacity

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

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

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

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

This text has shadow with #5A5002 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5002.

Preview

Color preview on black background

This text has color #5A5002 on black background.


Color preview on white background

This text has color #5A5002 on white background.


Black color preview on #5A5002 background

This text has black color on #5A5002 background.


White color preview on #5A5002 background

This text has white color on #5A5002 background.


Related colors

Complementary color

Complementary color for #hex is #A5AFFD.


I love getcolorcode.com

Triadic colors

1 #025A50 and #50025A with #5A5002 are triadic colors.

2 #02505A and #505A02 with #5A5002 are triadic colors.