Eye Dropper Tool

Instantly sample any colour from your drawing — or anywhere on your screen — and make it your active drawing colour.

How to Use

  1. 1

    Click the Eye Dropper button

    Find the Eye Dropper icon in the toolbar — it looks like a pipette or medicine dropper. Click it once to activate the tool. The button will highlight to show it is active.

  2. 2

    Wait for the prompt

    A brief message will appear telling you what to do next. On supported browsers you will see "Click anywhere on screen to pick a colour". On other browsers you will see "Click on the drawing area to pick a colour". The cursor will also change to a crosshair.

  3. 3

    Click the colour you want

    Click on the exact pixel whose colour you want to use. The tool reads the colour at that precise point and immediately applies it as your active drawing colour. A confirmation message will show the picked hex code.

  4. 4

    Draw with your new colour

    The Eye Dropper closes automatically after picking. Your picked colour is now active and ready to use with any drawing tool — just select a tool and start drawing. To cancel without picking a colour, press Esc at any time.

Quick tip

The Eye Dropper tool works alongside all other drawing tools. Pick a colour from an existing shape, then immediately switch to the Rectangle or Pencil tool to draw with it — perfect for colour matching.

Screen Mode vs. Canvas Mode

School Draw uses the best picking method available in your browser. There are two modes:

Preferred

Screen Mode

Uses your browser's built-in colour sampling. The entire screen dims slightly and a magnified preview follows your cursor, showing the exact pixel you are about to pick.

  • Sample from anywhere on screen — even outside the browser
  • Pixel-perfect magnifier cursor for precision
  • Works on photos, web pages, desktop apps
  • Available in Chrome 95+, Edge 95+, and Opera 81+
Canvas fallback

Canvas Mode

Used automatically when Screen Mode is not available. A transparent overlay covers the drawing area and your cursor becomes a crosshair.

  • Sample from the drawing canvas only
  • Crosshair cursor for accurate targeting
  • Works in Firefox, Safari, and older browsers
  • No installation or permissions needed

Which mode is active?

You do not need to choose — the tool selects the best mode automatically. If Screen Mode is supported, it will be used first. If anything goes wrong (for example a permission is denied), the tool falls back to Canvas Mode seamlessly and lets you know via an on-screen message.

How It Works

1

Tool activated

The Eye Dropper button is highlighted and the browser (Screen Mode) or a transparent overlay (Canvas Mode) becomes ready to capture your click.

2

Pixel sampled

In Screen Mode the browser reads the pixel colour directly. In Canvas Mode the drawing area is serialised into a temporary image and the pixel at your click position is read from it.

3

Colour converted to hex

The raw RGB pixel values are converted to a hex colour code (e.g. #3B82F6) and validated before being applied.

4

Colour applied globally

The colour becomes the active colour for all drawing tools. The colour swatch in the toolbar updates instantly and a confirmation message displays the hex code.

Features

Pixel-Perfect Sampling

Captures the exact colour of a single pixel. In Screen Mode a built-in magnifier helps you zoom in for precise selection.

Instant Apply

The picked colour becomes active immediately — no confirmation dialogs. Just click and draw.

Smart Fallback

Automatically switches from Screen Mode to Canvas Mode if the native API is unavailable, so it works in every browser.

Safe Cancellation

Press Esc at any moment to cancel without changing your current colour. Your drawing is never affected.

Works With All Tools

The picked colour applies to every drawing tool — rectangles, circles, pencil, line, text, and fill. Switching to another tool automatically closes the dropper.

Touch Friendly

The button meets minimum touch-target requirements. Haptic feedback confirms the colour pick on supported mobile devices.

Browser Support

The Eye Dropper tool works in all modern browsers. The experience varies depending on which mode is available:

Browser Screen Mode (full screen) Canvas Mode (drawing area)
Chrome 95+ ✓ Supported ✓ Supported
Microsoft Edge 95+ ✓ Supported ✓ Supported
Opera 81+ ✓ Supported ✓ Supported
Firefox Not yet available ✓ Supported
Safari Not yet available ✓ Supported

Using Firefox or Safari?

You will get Canvas Mode automatically, which lets you pick any colour from your drawing. For full screen-wide colour picking, try using Chrome or Edge.

Keyboard Shortcuts

Cancel the Eye Dropper Esc
Pick the colour under cursor Left click
Undo the last colour change Ctrl+Z or ⌘Z
Reopen Colour Picker Click the colour wheel button

Accessibility Note

Because Screen Mode hands control to the browser's native interface, standard keyboard navigation operates exactly as that browser implements it — typically Esc to cancel and the mouse to pick. Canvas Mode follows the same pattern within the drawing area.

Creative Uses

Ideas for using the Eye Dropper

  • Match the exact colour of a shape you have already drawn to keep your palette consistent
  • Sample a colour from a reference image open in another tab (Screen Mode)
  • Build a colour palette by picking colours from a photograph and sketching with them
  • Duplicate an object's colour when drawing a partner shape without opening the Colour Picker
  • Pick a brand colour directly from a logo or website (Screen Mode)
  • Sample the background colour before drawing overlapping shapes so fills blend seamlessly

Common Questions

I clicked the Eye Dropper but nothing happened

Check that your browser supports the feature. In Screen Mode, some browsers may ask for a one-time permission — look for a browser prompt at the top of the window and click Allow. If no prompt appears, the tool will switch to Canvas Mode automatically.

Why can I only pick from the drawing area in Canvas Mode?

Canvas Mode works by reading pixel data from the SVG drawing canvas directly. Reading pixels from outside the canvas (other tabs, the desktop, other apps) is not permitted by browser security policies without the native EyeDropper API. Upgrade to Chrome 95+ or Edge 95+ to pick from anywhere on screen.

The colour I picked looks slightly different than expected

In Canvas Mode the SVG is briefly rendered to a hidden canvas to sample the pixel. Anti-aliased edges (e.g. the edge of a circle or curved path) may return a blended colour rather than the solid fill colour. For the most accurate result, click clearly within the centre of a filled area, away from edges.

Can I pick a colour and then undo it?

The Eye Dropper changes your active drawing colour but does not create a new shape or modify existing drawing history. Pressing Ctrl+Z will undo the most recent drawing action, not the colour pick. To revert to a previous colour, simply pick it again using the Colour Picker or the Eye Dropper.

Does the Eye Dropper work on the canvas background colour?

Yes — in Canvas Mode you can click anywhere on the drawing canvas, including empty background areas. The background colour will be sampled and set as your active colour.