color-codes is a python package allowing easy access and use of RGB and HEX values of various colors.
Use the package manager pip to install color-codes.
pip install color-codes
import color_codes as color
# prints '(128, 128, 128)'
print(color.GREY.rgb)
# prints '#808080'
print(color.GREY.hex)