Convert a string to a six character hexadecimal color code.
npm install --save to-hex-color-code
import toHexColorCode from 'to-hex-color-code'
toHexColorCode('ABC'); // output: #AABBCC
toHexColorCode('ABCABC'); // output: #ABCABC
toHexColorCode('INVALID'); // output:
toHexColorCode('#ABC'); // output: #AABBCC
toHexColorCode('#ABCABC'); // output: #ABCABC
toHexColorCode('#INVALID'); // output:
MIT © LSVH