Number
318
- Positive
- Even
- Composite
- 3 digits
318 is an even 3-digit integer and a composite number. It has 8 divisors and a digital root of 3.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value318
Digit count3
Digit sum12
Digital root3repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 3 × 53
Distinct prime factors32, 3, 53
Number of divisors8
Sum of divisors σ(n)648
Aliquot sum330sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)104integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 53, 106, 159, 3188 in total
Arithmetic
Representations
Decimal318
Binary1001111109 bits
Octal476
Hexadecimal13E
Base 368U
Roman numeralCCCXVIII
In wordsthree hundred and eighteen
Ordinalthree hundred and eighteenth
Scientific notation3.18 × 10^2
Engineering notation318
Nearest landmarks
Powers & multiples
318 to the power 2101,124
318 to the power 332,157,432
318 to the power 410,226,063,376
318 to the power 53,251,888,153,568
First ten multiples318, 636, 954, 1,272, 1,590, 1,908, 2,226, 2,544, 2,862, 3,180
Powers of twoBetween 2^8 (256) and 2^9 (512)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4No, remainder 2
Divisible by 5No, remainder 3
Divisible by 6Yes
Divisible by 7No, remainder 3
Divisible by 8No, remainder 6
Divisible by 9No, remainder 3
Divisible by 10No, remainder 8
Divisible by 11No, remainder 10
Divisible by 12No, remainder 6
Divisible by 100No, remainder 18
Collatz (3n + 1) trajectory
Steps to reach 155the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps318 → 159 → 478 → 239 → 718 → 359 → 1,078 → 539 → 1,618 → 809 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage31,800%
318% as a decimal3.18
318% of 100318
318% of 1,0003,180
As a fraction of 100318/100
Read another way
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 318
Other readings
Also reads as
#331188 (colour)
- #331188
- Violet
- Dark
- Nearest: Indigo
#331188 is a violet with RGB values 51, 17, 136 and HSL 257°, 78%, 30%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#331188#331188
HEX#331188
HEX (short)#318
RGBrgb(51, 17, 136)
RGB (0–1)0.2, 0.0667, 0.5333
RGB percentages20%, 6.7%, 53.3%
HSLhsl(257.1, 77.8%, 30%)
HSV / HSBhsv(257.1, 87.5%, 53.3%)
CMYK62.5%, 87.5%, 0%, 46.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,824
CSS custom property--colour: #331188;
Brightness & contrast
Relative luminance0.02882WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.32:1
Contrast with white13.32:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#CCEE77
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.32:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#668811
Analogous#112B88, #6E1188
Triadic#883311, #118833
Split complementary#886E11, #2B8811
Tetradic#88112B, #668811, #11886E
Tints, shades & saturation
Channel breakdown
R51
G17
B136
Red51 (20%)
Green17 (6.7%)
Blue136 (53.3%)
Hue257.14°
Saturation (HSL)77.78%
Lightness30%
Dominant channelBlue
Hex per channelR 33 · G 11 · B 88
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page