COLOR #4F42A5

HEX: #4F42A5
RGB: (79,66,165)

Color info

#4F42A5 contains mainly blue color. Web safe color of #4F42A5 is #663399 (or #639).

RGB color model

#4F42A5 color RGB value is (79,66,165).

  • red value is 79;
  • green value is 66;
  • blue value is 165.
RGB:
(79,66,165)
(31%,26%,65%)

RGB channels and saturation

R 79 of 255 = 31%
G 66 of 255 = 26%
B 165 of 255 = 65%

79
66
165

R + G + B ~ 41%. #4F42A5 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
79 + 66 + 165 = 310 (100%)
R 79 of 310 ~ 25.48%
G 66 of 310 ~ 21.29%
B 165 of 310 ~ 53.23%

%25.48
%21.29
%53.23

CMYK color model

#4F42A5 color CMYK value is (52,60,0,35).

  • cyan value is 52.12%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(52,60,0,35)
C52M60Y0K35 
(52%,60%,0%,35%)
(0.52/0.60/0.00/0.35)	

CMYK percentages

%52.12
%60
%0
%35.29

Codes

Color #4F42A5 in popluar color models

4F42A5
RGB7966165
HSL248°42.86%45.29%
HSB/HSV248°60.00%64.71%
CMYK52.12%60.00%0.00%
35.29%

Color #4F42A5 in popluar number systems.

HEX4F42A5
Decimal7966165
Binary1001111100001010100101
Octal117102245

Shades and tints

Shades of #4F42A5

#4F42A5
(79,66,165)
#483C96
(72,60,150)
#413687
(65,54,135)
#3A3078
(58,48,120)
#332A69
(51,42,105)
#2C245A
(44,36,90)
#251E4B
(37,30,75)
#1E183C
(30,24,60)
#17122D
(23,18,45)
#100C1E
(16,12,30)
#09060F
(9,6,15)
#000000
(0,0,0)

Tints of #4F42A5

#4F42A5
(79,66,165)
#5F53AD
(95,83,173)
#6F64B5
(111,100,181)
#7F75BD
(127,117,189)
#8F86C5
(143,134,197)
#9F97CD
(159,151,205)
#AFA8D5
(175,168,213)
#BFB9DD
(191,185,221)
#CFCAE5
(207,202,229)
#DFDBED
(223,219,237)
#EFECF5
(239,236,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4F42A5 color. Also use rgb(79,66,165) instead hex code.

Text Font Color

.myTextColor { color: #4F42A5; }

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

This text font color is #4F42A5.


Background Color

.myBgColor { background-color: #4F42A5; }

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

This div background color is #4F42A5.


Border color

.myBorderColor { border: 1px solid #4F42A5; }

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

This div border color is #4F42A5.


Opacity

.myOpacity80 { color: #4F42A5; opacity: 0.8; }

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

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

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

This text has shadow with #4F42A5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4F42A5 on black background.


Color preview on white background

This text has color #4F42A5 on white background.



Black color preview on #4F42A5 background

This text has black color on #4F42A5 background.


White color preview on #4F42A5 background

This text has white color on #4F42A5 background.