getColorKey method

String getColorKey(
  1. String value
)

value == '#rrggbb' returns the color key (color name)

Implementation

static String getColorKey(String value) => colors.getKey(value);