COLOR #7A7A40

HEX: #7A7A40 RGB: (122,122,64)

Color info

#7A7A40 contains red, green and blue colors in about the same proportion. Web safe color of #7A7A40 is #666633 (or #663).

RGB color model

#7A7A40 color RGB value is (122,122,64).

RGB: (122,122,64) (48%, 48%, 25%)

RGB channels and saturation

R 122 of 255 = 48%
G 122 of 255 = 48%
B 64 of 255 = 25%

122
122
64

R + G + B ~ 40%. #7A7A40 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 122 + 122 + 64 = 308 (100%)
R 122 of 308 ~ 39.61%
G 122 of 308 ~ 39.61%
B 64 of 308 ~ 20.78'%

%39.61
%39.61
%20.78

CMYK color model

#7A7A40 color CMYK value is (0,0,48,52).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 47.54%
  • key color value is 52.16%

CMYK: (0,0,48,52)
C0M0Y48K52 (0%, 0%, 48%, 52%)
(0.00 / 0.00 / 0.48 / 0.52)

CMYK percentages

%0
%0
%47.54
%52.16

Codes

Color #7A7A40 in popluar color models

7A 7A 40
RGB 122 122 64
HSL 60° 31.18% 36.47%
HSB/HSV 60° 47.54% 47.84%
CMYK 0.00% 0.00% 47.54%
52.16%

Color #7A7A40 in popluar number systems.

HEX 7A 7A 40
Decimal 122 122 64
Binary 1111010 1111010 1000000
Octal 172 172 100

Shades and tints

Shades of #7A7A40

#7A7A40
(122,122,64)
#6F6F3B
(111,111,59)
#646436
(100,100,54)
#595931
(89,89,49)
#4E4E2C
(78,78,44)
#434327
(67,67,39)
#383822
(56,56,34)
#2D2D1D
(45,45,29)
#222218
(34,34,24)
#171713
(23,23,19)
#0C0C0E
(12,12,14)
#000000
(0,0,0)

Tints of #7A7A40

#7A7A40
(122,122,64)
#868651
(134,134,81)
#929262
(146,146,98)
#9E9E73
(158,158,115)
#AAAA84
(170,170,132)
#B6B695
(182,182,149)
#C2C2A6
(194,194,166)
#CECEB7
(206,206,183)
#DADAC8
(218,218,200)
#E6E6D9
(230,230,217)
#F2F2EA
(242,242,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7A7A40 color. Also use rgb(122,122,64) instead hex code.

Text Font Color

.myTextColor { color: #7A7A40; }

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

This text font color is #7A7A40.

Background Color

.myBgColor { background-color: #7A7A40; }

<div style="background-color:#7A7A40">Inner text</div>

This div background color is #7A7A40.

Border color

.myBorderColor { border: 1px solid #7A7A40; }

<div style="border:3px solid #7A7A40">Div</div>

This div border color is #7A7A40.

Opacity

.myOpacity80 { color: #7A7A40; opacity: 0.8; }

<p style="color:#7A7A40;opacity:0.8;">80%</p>

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

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

This text has shadow with #7A7A40 color.


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

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

This text has shadow with #7A7A40 primary color and red secondary color.


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

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

This text has shadow with #7A7A40 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #7A7A40.

Preview

Color preview on black background

This text has color #7A7A40 on black background.


Color preview on white background

This text has color #7A7A40 on white background.


Black color preview on #7A7A40 background

This text has black color on #7A7A40 background.


White color preview on #7A7A40 background

This text has white color on #7A7A40 background.


Related colors

Complementary color

Complementary color for #hex is #8585BF.


I love getcolorcode.com