This page provides two numerical utilities.
The first is a general integer conversions between decimal, hex, octal and binary numbers. The data entry is as follows.
- The data can be in any of the 4 formats.
- It is a single column, and each row is a number to be converted.
- On clicking the appropriate button, the same number in all 4 formats will be shown.
The second is the interconversion of color codes that are often used in html pages or other programs
- The data entry can be either in decimal code or hex code
- Decimal code for color is 3 numbers ranging from 0 to 255, separated by spaces. The numbers representing red green blue
- The hex code is a string of 6 hex characters, the first 2 characters for red, the second 2 green and third 2 blue
- The program will produce color codes in 2 formats, and the color it represents.
- The result decimal code is rgb(red, green, blue), each from 0 to 255, as used in say php programs
- The hex code is #rrggbb, each from 00 to ff as used in HTML style statements for color