JSONize Image Colors Shortcut

Social


Generate a prettified JSON dictionary of image color hex values.

Requirements

This shortcut uses Toolbox Pro’s Get Colours From Image action and Jayson to generate and show a prettified JSON dictionary of the hex values for a given image.

Steps

  1. Receives an image from the share sheet or prompts to select a photo.
  2. Uses Toolbox Pro’s Get Colours From Image action to generate hex values for the average, primary, secondary, background, and detail colors.
  3. Prettifies the resulting dictionary with Jayson.
  4. Copies the prettified JSON to the clipboard.
  5. Opens the prettified JSON in Jayson.