Fix color hex formatting
Floor midpoints to match Java int behavior
Use `color-convert` for color conversion
Remove trailing comma in `package.json`
Remove commented if statement
Prevent palette from having the same color multiple times