Easy colorpicker

A small tutorial about using a canvas as a colorpicker.

I use a

  • canvas,
  • color utilities
  • label
  • button
  • notifier

I made a screenshot of one of the palettes on this page.

https://paulwratt.github.io/programmers-palettes/programmers-palettes.html

I put the screenshot as a background image of the canvas.

I used these blocks.

When i drag my finger over the palette the label shows the hexvalue of the color.

You can make the canvas as big as you want or show it in a custom dialog.

In this case the canvas is put inside a vertical arrangement.

So with a few blocks you have a lot of colors you can use.

18 Likes

Gr8 Guide !