COLOR #998042

HEX: #998042
RGB: (153,128,66)

Color info

#998042 contains mainly red and green colors. Web safe color of #998042 is #996633 (or #963).

RGB color model

#998042 color RGB value is (153,128,66).

  • red value is 153;
  • green value is 128;
  • blue value is 66.
RGB:
(153,128,66)
(60%,50%,26%)

RGB channels and saturation

R 153 of 255 = 60%
G 128 of 255 = 50%
B 66 of 255 = 26%

153
128
66

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

Portions of RGB colors in percentages

R + G + B =
153 + 128 + 66 = 347 (100%)
R 153 of 347 ~ 44.09%
G 128 of 347 ~ 36.89%
B 66 of 347 ~ 19.02%

%44.09
%36.89
%19.02

CMYK color model

#998042 color CMYK value is (0,16,57,40).

  • cyan value is 0.00%
  • magenta value is 16.34%
  • yellow value is 56.86%
  • key color value is 40.00%
CMYK:
(0,16,57,40)
C0M16Y57K40 
(0%,16%,57%,40%)
(0.00/0.16/0.57/0.40)	

CMYK percentages

%0
%16.34
%56.86
%40

Codes

Color #998042 in popluar color models

998042
RGB15312866
HSL43°39.73%42.94%
HSB/HSV43°56.86%60.00%
CMYK0.00%16.34%56.86%
40.00%

Color #998042 in popluar number systems.

HEX998042
Decimal15312866
Binary10011001100000001000010
Octal231200102

Shades and tints

Shades of #998042

#998042
(153,128,66)
#8C753C
(140,117,60)
#7F6A36
(127,106,54)
#725F30
(114,95,48)
#65542A
(101,84,42)
#584924
(88,73,36)
#4B3E1E
(75,62,30)
#3E3318
(62,51,24)
#312812
(49,40,18)
#241D0C
(36,29,12)
#171206
(23,18,6)
#000000
(0,0,0)

Tints of #998042

#998042
(153,128,66)
#A28B53
(162,139,83)
#AB9664
(171,150,100)
#B4A175
(180,161,117)
#BDAC86
(189,172,134)
#C6B797
(198,183,151)
#CFC2A8
(207,194,168)
#D8CDB9
(216,205,185)
#E1D8CA
(225,216,202)
#EAE3DB
(234,227,219)
#F3EEEC
(243,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #998042 color. Also use rgb(153,128,66) instead hex code.

Text Font Color

.myTextColor { color: #998042; }

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

This text font color is #998042.


Background Color

.myBgColor { background-color: #998042; }

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

This div background color is #998042.


Border color

.myBorderColor { border: 1px solid #998042; }

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

This div border color is #998042.


Opacity

.myOpacity80 { color: #998042; opacity: 0.8; }

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

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

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

This text has shadow with #998042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #998042 on black background.


Color preview on white background

This text has color #998042 on white background.



Black color preview on #998042 background

This text has black color on #998042 background.


White color preview on #998042 background

This text has white color on #998042 background.