COLOR #8A8A48

HEX: #8A8A48 RGB: (138,138,72)

Color info

#8A8A48 contains mainly red and green colors. Web safe color of #8A8A48 is #999933 (or #993).

RGB color model

#8A8A48 color RGB value is (138,138,72).

RGB: (138,138,72) (54%, 54%, 28%)

RGB channels and saturation

R 138 of 255 = 54%
G 138 of 255 = 54%
B 72 of 255 = 28%

138
138
72

R + G + B ~ 45%. #8A8A48 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 138 + 138 + 72 = 348 (100%)
R 138 of 348 ~ 39.66%
G 138 of 348 ~ 39.66%
B 72 of 348 ~ 20.69'%

%39.66
%39.66
%20.69

CMYK color model

#8A8A48 color CMYK value is (0,0,48,46).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 47.83%
  • key color value is 45.88%

CMYK: (0,0,48,46)
C0M0Y48K46 (0%, 0%, 48%, 46%)
(0.00 / 0.00 / 0.48 / 0.46)

CMYK percentages

%0
%0
%47.83
%45.88

Codes

Color #8A8A48 in popluar color models

8A 8A 48
RGB 138 138 72
HSL 60° 31.43% 41.18%
HSB/HSV 60° 47.83% 54.12%
CMYK 0.00% 0.00% 47.83%
45.88%

Color #8A8A48 in popluar number systems.

HEX 8A 8A 48
Decimal 138 138 72
Binary 10001010 10001010 1001000
Octal 212 212 110

Shades and tints

Shades of #8A8A48

#8A8A48
(138,138,72)
#7E7E42
(126,126,66)
#72723C
(114,114,60)
#666636
(102,102,54)
#5A5A30
(90,90,48)
#4E4E2A
(78,78,42)
#424224
(66,66,36)
#36361E
(54,54,30)
#2A2A18
(42,42,24)
#1E1E12
(30,30,18)
#12120C
(18,18,12)
#000000
(0,0,0)

Tints of #8A8A48

#8A8A48
(138,138,72)
#949458
(148,148,88)
#9E9E68
(158,158,104)
#A8A878
(168,168,120)
#B2B288
(178,178,136)
#BCBC98
(188,188,152)
#C6C6A8
(198,198,168)
#D0D0B8
(208,208,184)
#DADAC8
(218,218,200)
#E4E4D8
(228,228,216)
#EEEEE8
(238,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A8A48 color. Also use rgb(138,138,72) instead hex code.

Text Font Color

.myTextColor { color: #8A8A48; }

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

This text font color is #8A8A48.

Background Color

.myBgColor { background-color: #8A8A48; }

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

This div background color is #8A8A48.

Border color

.myBorderColor { border: 1px solid #8A8A48; }

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

This div border color is #8A8A48.

Opacity

.myOpacity80 { color: #8A8A48; opacity: 0.8; }

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

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

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

This text has shadow with #8A8A48 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A8A48.

Preview

Color preview on black background

This text has color #8A8A48 on black background.


Color preview on white background

This text has color #8A8A48 on white background.


Black color preview on #8A8A48 background

This text has black color on #8A8A48 background.


White color preview on #8A8A48 background

This text has white color on #8A8A48 background.


Related colors

Complementary color

Complementary color for #hex is #7575B7.


I love getcolorcode.com