COLOR #240C5B

HEX: #240C5B
RGB: (36,12,91)

Color info

#240C5B contains mainly red and blue colors. Web safe color of #240C5B is #330066 (or #306).

RGB color model

#240C5B color RGB value is (36,12,91).

  • red value is 36;
  • green value is 12;
  • blue value is 91.
RGB:
(36,12,91)
(14%,5%,36%)

RGB channels and saturation

R 36 of 255 = 14%
G 12 of 255 = 5%
B 91 of 255 = 36%

36
12
91

R + G + B ~ 18%. #240C5B is dark color.

Portions of RGB colors in percentages

R + G + B =
36 + 12 + 91 = 139 (100%)
R 36 of 139 ~ 25.9%
G 12 of 139 ~ 8.63%
B 91 of 139 ~ 65.47%

%25.9
%65.47

CMYK color model

#240C5B color CMYK value is (60,87,0,64).

  • cyan value is 60.44%
  • magenta value is 86.81%
  • yellow value is 0.00%
  • key color value is 64.31%
CMYK:
(60,87,0,64)
C60M87Y0K64 
(60%,87%,0%,64%)
(0.60/0.87/0.00/0.64)	

CMYK percentages

%60.44
%86.81
%0
%64.31

Codes

Color #240C5B in popluar color models

240C5B
RGB361291
HSL258°76.70%20.20%
HSB/HSV258°86.81%35.69%
CMYK60.44%86.81%0.00%
64.31%

Color #240C5B in popluar number systems.

HEX240C5B
Decimal361291
Binary10010011001011011
Octal4414133

Shades and tints

Shades of #240C5B

#240C5B
(36,12,91)
#210B53
(33,11,83)
#1E0A4B
(30,10,75)
#1B0943
(27,9,67)
#18083B
(24,8,59)
#150733
(21,7,51)
#12062B
(18,6,43)
#0F0523
(15,5,35)
#0C041B
(12,4,27)
#090313
(9,3,19)
#06020B
(6,2,11)
#000000
(0,0,0)

Tints of #240C5B

#240C5B
(36,12,91)
#372269
(55,34,105)
#4A3877
(74,56,119)
#5D4E85
(93,78,133)
#706493
(112,100,147)
#837AA1
(131,122,161)
#9690AF
(150,144,175)
#A9A6BD
(169,166,189)
#BCBCCB
(188,188,203)
#CFD2D9
(207,210,217)
#E2E8E7
(226,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #240C5B color. Also use rgb(36,12,91) instead hex code.

Text Font Color

.myTextColor { color: #240C5B; }

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

This text font color is #240C5B.


Background Color

.myBgColor { background-color: #240C5B; }

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

This div background color is #240C5B.


Border color

.myBorderColor { border: 1px solid #240C5B; }

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

This div border color is #240C5B.


Opacity

.myOpacity80 { color: #240C5B; opacity: 0.8; }

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

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

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

This text has shadow with #240C5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240C5B on black background.


Color preview on white background

This text has color #240C5B on white background.



Black color preview on #240C5B background

This text has black color on #240C5B background.


White color preview on #240C5B background

This text has white color on #240C5B background.