eyedropper-api icon indicating copy to clipboard operation
eyedropper-api copied to clipboard

EyeDropper API is returning rgb string as color output

Open prabhjodh opened this issue 2 years ago • 0 comments

The EyeDropper API is returning the color value in rgb() string format and not in HEX format (or sRGBHex, as mentioned in the documentation). The documentation specifies that the returned color will be a valid simple color i.e. it is exactly seven characters long, and the first character is a character (#) and the remaining six characters are all ASCII hex digits, with the first two digits representing the red component, the middle two digits representing the green component, and the last two digits representing the blue component, in hexadecimal.

System Specifications:

  • Mac OS Ventura 13.0 (Intel)
  • Google Chrome Version 107.0.5304.110 (Official Build) (x86_64)

prabhjodh avatar Nov 30 '22 11:11 prabhjodh