COLOR #240D6A

HEX: #240D6A
RGB: (36,13,106)

Color info

#240D6A contains mainly blue color. Web safe color of #240D6A is #330066 (or #306).

RGB color model

#240D6A color RGB value is (36,13,106).

  • red value is 36;
  • green value is 13;
  • blue value is 106.
RGB:
(36,13,106)
(14%,5%,42%)

RGB channels and saturation

R 36 of 255 = 14%
G 13 of 255 = 5%
B 106 of 255 = 42%

36
13
106

R + G + B ~ 20%. #240D6A is dark color.

Portions of RGB colors in percentages

R + G + B =
36 + 13 + 106 = 155 (100%)
R 36 of 155 ~ 23.23%
G 13 of 155 ~ 8.39%
B 106 of 155 ~ 68.39%

%23.23
%68.39

CMYK color model

#240D6A color CMYK value is (66,88,0,58).

  • cyan value is 66.04%
  • magenta value is 87.74%
  • yellow value is 0.00%
  • key color value is 58.43%
CMYK:
(66,88,0,58)
C66M88Y0K58 
(66%,88%,0%,58%)
(0.66/0.88/0.00/0.58)	

CMYK percentages

%66.04
%87.74
%0
%58.43

Codes

Color #240D6A in popluar color models

240D6A
RGB3613106
HSL255°78.15%23.33%
HSB/HSV255°87.74%41.57%
CMYK66.04%87.74%0.00%
58.43%

Color #240D6A in popluar number systems.

HEX240D6A
Decimal3613106
Binary10010011011101010
Octal4415152

Shades and tints

Shades of #240D6A

#240D6A
(36,13,106)
#210C61
(33,12,97)
#1E0B58
(30,11,88)
#1B0A4F
(27,10,79)
#180946
(24,9,70)
#15083D
(21,8,61)
#120734
(18,7,52)
#0F062B
(15,6,43)
#0C0522
(12,5,34)
#090419
(9,4,25)
#060310
(6,3,16)
#000000
(0,0,0)

Tints of #240D6A

#240D6A
(36,13,106)
#372377
(55,35,119)
#4A3984
(74,57,132)
#5D4F91
(93,79,145)
#70659E
(112,101,158)
#837BAB
(131,123,171)
#9691B8
(150,145,184)
#A9A7C5
(169,167,197)
#BCBDD2
(188,189,210)
#CFD3DF
(207,211,223)
#E2E9EC
(226,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #240D6A color. Also use rgb(36,13,106) instead hex code.

Text Font Color

.myTextColor { color: #240D6A; }

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

This text font color is #240D6A.


Background Color

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

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

This div background color is #240D6A.


Border color

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

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

This div border color is #240D6A.


Opacity

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

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

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

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

This text has shadow with #240D6A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240D6A on black background.


Color preview on white background

This text has color #240D6A on white background.



Black color preview on #240D6A background

This text has black color on #240D6A background.


White color preview on #240D6A background

This text has white color on #240D6A background.