and some credit from here: https://stackoverflow.com/questions/...ert-rbg-to-hex