COLOR #948C04

HEX: #948C04 RGB: (148,140,4)

Color info

#948C04 contains mainly red and green colors. Web safe color of #948C04 is #999900 (or #990).

RGB color model

#948C04 color RGB value is (148,140,4).

RGB: (148,140,4) (58%, 55%, 2%)

RGB channels and saturation

R 148 of 255 = 58%
G 140 of 255 = 55%
B 4 of 255 = 2%

148
140
4

R + G + B ~ 38%. #948C04 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 148 + 140 + 4 = 292 (100%)
R 148 of 292 ~ 50.68%
G 140 of 292 ~ 47.95%
B 4 of 292 ~ 1.37'%

%50.68
%47.95

CMYK color model

#948C04 color CMYK value is (0,5,97,42).

  • cyan value is 0.00%
  • magenta value is 5.41%
  • yellow value is 97.30%
  • key color value is 41.96%

CMYK: (0,5,97,42)
C0M5Y97K42 (0%, 5%, 97%, 42%)
(0.00 / 0.05 / 0.97 / 0.42)

CMYK percentages

%0
%5.41
%97.3
%41.96

Codes

Color #948C04 in popluar color models

94 8C 04
RGB 148 140 4
HSL 57° 94.74% 29.80%
HSB/HSV 57° 97.30% 58.04%
CMYK 0.00% 5.41% 97.30%
41.96%

Color #948C04 in popluar number systems.

HEX 94 8C 04
Decimal 148 140 4
Binary 10010100 10001100 100
Octal 224 214 4

Shades and tints

Shades of #948C04

#948C04
(148,140,4)
#878004
(135,128,4)
#7A7404
(122,116,4)
#6D6804
(109,104,4)
#605C04
(96,92,4)
#535004
(83,80,4)
#464404
(70,68,4)
#393804
(57,56,4)
#2C2C04
(44,44,4)
#1F2004
(31,32,4)
#121404
(18,20,4)
#000000
(0,0,0)

Tints of #948C04

#948C04
(148,140,4)
#9D961A
(157,150,26)
#A6A030
(166,160,48)
#AFAA46
(175,170,70)
#B8B45C
(184,180,92)
#C1BE72
(193,190,114)
#CAC888
(202,200,136)
#D3D29E
(211,210,158)
#DCDCB4
(220,220,180)
#E5E6CA
(229,230,202)
#EEF0E0
(238,240,224)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #948C04 color. Also use rgb(148,140,4) instead hex code.

Text Font Color

.myTextColor { color: #948C04; }

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

This text font color is #948C04.

Background Color

.myBgColor { background-color: #948C04; }

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

This div background color is #948C04.

Border color

.myBorderColor { border: 1px solid #948C04; }

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

This div border color is #948C04.

Opacity

.myOpacity80 { color: #948C04; opacity: 0.8; }

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

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

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

This text has shadow with #948C04 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #948C04.

Preview

Color preview on black background

This text has color #948C04 on black background.


Color preview on white background

This text has color #948C04 on white background.


Black color preview on #948C04 background

This text has black color on #948C04 background.


White color preview on #948C04 background

This text has white color on #948C04 background.


Related colors

Complementary color

Complementary color for #hex is #6B73FB.


I love getcolorcode.com

Triadic colors

1 #04948C and #8C0494 with #948C04 are triadic colors.

2 #048C94 and #8C9404 with #948C04 are triadic colors.