to_dict#

Color.to_dict()[source]#

Convert to dictionary for JSON serialization.