Small utility for converting and storing colour values