getDisplayName method

String getDisplayName()

Gets colour's display name

Implementation

String getDisplayName()
{
  if (isEmpty) {
    return EMPTY_COLOUR_DISPLAY_NAME;
  }
  else {
    return toHtmlHexTriplet();
  }
}