COLOR #6242B1

HEX: #6242B1
RGB: (98,66,177)

Color info

#6242B1 contains mainly blue color. Web safe color of #6242B1 is #663399 (or #639).

RGB color model

#6242B1 color RGB value is (98,66,177).

  • red value is 98;
  • green value is 66;
  • blue value is 177.
RGB:
(98,66,177)
(38%,26%,69%)

RGB channels and saturation

R 98 of 255 = 38%
G 66 of 255 = 26%
B 177 of 255 = 69%

98
66
177

R + G + B ~ 44%. #6242B1 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
98 + 66 + 177 = 341 (100%)
R 98 of 341 ~ 28.74%
G 66 of 341 ~ 19.35%
B 177 of 341 ~ 51.91%

%28.74
%19.35
%51.91

CMYK color model

#6242B1 color CMYK value is (45,63,0,31).

  • cyan value is 44.63%
  • magenta value is 62.71%
  • yellow value is 0.00%
  • key color value is 30.59%
CMYK:
(45,63,0,31)
C45M63Y0K31 
(45%,63%,0%,31%)
(0.45/0.63/0.00/0.31)	

CMYK percentages

%44.63
%62.71
%0
%30.59

Codes

Color #6242B1 in popluar color models

6242B1
RGB9866177
HSL257°45.68%47.65%
HSB/HSV257°62.71%69.41%
CMYK44.63%62.71%0.00%
30.59%

Color #6242B1 in popluar number systems.

HEX6242B1
Decimal9866177
Binary1100010100001010110001
Octal142102261

Shades and tints

Shades of #6242B1

#6242B1
(98,66,177)
#5A3CA1
(90,60,161)
#523691
(82,54,145)
#4A3081
(74,48,129)
#422A71
(66,42,113)
#3A2461
(58,36,97)
#321E51
(50,30,81)
#2A1841
(42,24,65)
#221231
(34,18,49)
#1A0C21
(26,12,33)
#120611
(18,6,17)
#000000
(0,0,0)

Tints of #6242B1

#6242B1
(98,66,177)
#7053B8
(112,83,184)
#7E64BF
(126,100,191)
#8C75C6
(140,117,198)
#9A86CD
(154,134,205)
#A897D4
(168,151,212)
#B6A8DB
(182,168,219)
#C4B9E2
(196,185,226)
#D2CAE9
(210,202,233)
#E0DBF0
(224,219,240)
#EEECF7
(238,236,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6242B1 color. Also use rgb(98,66,177) instead hex code.

Text Font Color

.myTextColor { color: #6242B1; }

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

This text font color is #6242B1.


Background Color

.myBgColor { background-color: #6242B1; }

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

This div background color is #6242B1.


Border color

.myBorderColor { border: 1px solid #6242B1; }

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

This div border color is #6242B1.


Opacity

.myOpacity80 { color: #6242B1; opacity: 0.8; }

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

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

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

This text has shadow with #6242B1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6242B1 on black background.


Color preview on white background

This text has color #6242B1 on white background.



Black color preview on #6242B1 background

This text has black color on #6242B1 background.


White color preview on #6242B1 background

This text has white color on #6242B1 background.