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
- 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 used in html, and the color it represents.
- The result decimal code is (red, green, blue) each from 0 to 255
- The hex code is #rrggbb each from 00 to ff
Tables of commonly used colors and their codes can be found in the
MacroPlot Help Page