EyeDropper API - Online Pick Any Screen Color
Use the EyeDropper API to sample a color from anywhere on your screen. Click, select, and copy the hex. No extensions needed.
UD5 Toolkit
Real-time detection, locking & debugging for device orientation
Lock the screen to a specific orientation. Requires user gesture & may need fullscreen on desktop.
Loading...
screen.orientation. The API exposes type (e.g., portrait-primary, landscape-primary) and angle (0°, 90°, 180°, 270°) properties, along with lock() and unlock() methods. This is especially useful for games, video players, and full-screen web apps that need to control display orientation.
screen.orientation.lock() method typically requires the document to be in fullscreen mode. If you attempt to lock orientation without fullscreen, you'll get a DOMException with a message like "lock() requires a fullscreen document". The solution is to first call document.documentElement.requestFullscreen(), then lock the orientation. This tool automatically attempts fullscreen when needed. On mobile devices, fullscreen is usually not required for orientation lock.
Note: The "primary" landscape direction may be 90° or 270° depending on the device manufacturer's convention. Most smartphones use 90° for landscape-primary.
lock() is limited — it typically works only in standalone PWA mode (Add to Home Screen) or when using webkit prefixes in some versions. Desktop Safari has limited support. Always check 'orientation' in screen before using the API. This tool automatically detects API availability and adjusts accordingly.
change event on screen.orientation:
screen.orientation.addEventListener('change', () => {
console.log('Orientation:', screen.orientation.type);
console.log('Angle:', screen.orientation.angle);
});
Alternatively, you can use the onchange property: screen.orientation.onchange = () => { ... }. The legacy window.orientationchange event is deprecated and should not be used in new projects.
allow="fullscreen" attribute for fullscreen requests, and allow="screen-orientation-lock" (or the legacy allow="orientation-lock") for orientation locking. Even with these permissions, some browsers may block orientation lock in cross-origin iframes. If you're embedding this tool, ensure the host page includes these permissions. The Permissions Policy header can also affect this: Permissions-Policy: screen-orientation-lock=(self).
lock('any') allows the screen to freely rotate to any orientation (portrait or landscape, primary or secondary) while technically keeping a "lock" active — it effectively removes restrictions but maintains the lock state. unlock() completely releases the lock, returning orientation control to the system default behavior. In practice, both result in free rotation, but lock('any') keeps the lock promise resolved, while unlock() fully releases it. Use unlock() when you're done controlling orientation.
document.documentElement.requestFullscreen(). Desktop browsers enforce this.portrait-secondary) is not supported by the device or browser. Fall back to portrait or landscape.'orientation' in screen. If false, the browser doesn't support this API. Consider using a polyfill or accepting the limitation.screen.orientation changes. For testing lock() on desktop, enter fullscreen mode first (use the Fullscreen button in this tool), then lock — Chrome desktop supports this combination. Firefox also supports orientation lock in fullscreen.
Use the EyeDropper API to sample a color from anywhere on your screen. Click, select, and copy the hex. No extensions needed.
Create a passkey and authenticate using the Web Authentication API. Supports platform authenticators (TouchID, FaceID). No server.
Change all alignment and justification values and see the flex items move. Indispensable for learning Flexbox.
Record your screen, application window, or browser tab directly using the Screen Capture API. Download as WebM. All local.
Find the ideal height to hang art based on wall and furniture dimensions. Follow gallery standard 57‑inch center rule.
Define password rules and see a live checklist that updates as you type. Design better password UX for your app.
Enter container width, number of items, gap, and flex‑basis. See the resulting sizes instantly. Plan your flex layout.
Set up a Shared Worker that shares state across multiple browser tabs. Counter and messaging demo. Advanced web.
Write a self-contract with a goal and reward/penalty. Sign digitally, save as image. Stay accountable.
Use the browser's native eyedropper tool to pick any color from the screen. Shows zoomed preview. Quick and easy.
Paste HTML/CSS snippets or enter properties to test how z‑index and stacking contexts interact. Real‑time example.
Paste your CSS and see warnings for properties that have limited browser support. Links to CanIUse. Modernize safely.
Test your device's built‑in biometric (Touch ID, Face ID, Windows Hello) using the Web Authentication API. Register and verify.
Toggle contain: strict, content, paint, layout and see how it affects rendering. Understand isolation for faster pages.
See how scroll‑padding and scroll‑margin affect the position of elements when using anchor links or scroll‑snap. Visual.
Create a custom cookie consent banner with text, button styles, and colors. Copy the ready‑to‑use HTML/CSS/JS snippet.
Paste a cURL command and instantly generate equivalent HTTP request code in Python, JavaScript, PHP, and more. Speed up API integration — fully local.
Generate a range of tints and shades from a single hex color. Ideal for data visualization, UI design systems, and Tailwind custom palette creation. Local tool.
Touch the screen and see the exact coordinates, radius, and force of each touch point. Indispensable for mobile web devs.
Adjust margin, border, padding, and content sizes interactively and see the rendered box model. Get the exact CSS. Teach or learn layout.
Create a simple 4-shaft weaving draft by clicking warp/weft threads. See plain weave, twill, satin. Educational for weavers. Local only.
Paste a screenshot or image, crop it, and add arrows, rectangles, and text. Essential for bug reports and tutorials.
Fill in a form to generate a clean, ATS‑friendly one‑page resume. Customize sections, colors, and export as print‑ready PDF. Personal data stays in your browser.
Translate between binary and Gray code (reflected binary code). See the bit changes. Useful for digital logic.
Number each line of your text sequentially. Customize start number and format. Useful for code snippets, tutorials, and document review. Private operation.
Design neumorphic elements by adjusting box‑shadow parameters. Real‑time preview and CSS output. For modern soft UI interfaces.
Use anchor positioning to perfectly center a popover relative to its anchor. No JavaScript. See the modern approach.
Use isolation: isolate to contain mix‑blend‑mode and filters. See the visual difference with and without. Quick demo.
Generate a random HTML/CSS card with different box model properties. Inspect and guess the size. For learners.
Visually adjust each corner's radius on an image independently. Preview and download as PNG. For non‑uniform rounding.