This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Create your own eyedropper effect to extract colors from a drawing or photograph using HTML5 canvas methods. Introduction Sampling colors from an image can add interest and flexibility to websites such as a fashion site or home decorating site. Users can
![Sampling image colors with Canvas (Windows)](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)