shime / dominant-color
Gets dominant color of an image.
☆63Updated 8 years ago
Related projects ⓘ
Alternatives and complementary repositories for dominant-color
- Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.☆77Updated last week
- A JavaScript client library for generating image URLs with imgix☆122Updated last week
- 🎨 (~1kb) library to extract colors from pictures.☆72Updated last year
- Polyfill for the "History API: Scroll Restoration"☆69Updated 5 years ago
- ☆92Updated 6 years ago
- 💿 Take control of your CSS keyframe animations☆60Updated 7 years ago
- macOS/iOS elastic scroll polyfill on scrollable elements☆76Updated last year
- A lightweight library for throttling browser events using requestAnimationFrame☆22Updated last year
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆109Updated last year
- A tiny (255B) shim when Element.classList cannot be used~!☆62Updated 5 years ago
- An easy way to add keyboard shortcuts to your javascript applications.☆38Updated last year
- Convert a string to a dash-separated string (kebab case). Works with camelcase, pascalcase, space-separated, etc.☆88Updated 2 years ago
- Determine if the given hex color is light or dark. Helpful to determining foreground color against a background color.☆61Updated 5 years ago
- Improve the way you handle your media queries listeners in JavaScript.☆41Updated last year
- Automatically expand a <textarea> to fit its content, in a few bytes☆78Updated 3 years ago
- ☆40Updated 7 years ago
- Parse and stringify the HTML <img> srcset attribute☆138Updated 9 months ago
- CLI for converting CSS rules to JavaScript style objects☆46Updated 7 years ago
- A tiny single-finger tap and swipe library.☆24Updated last year
- A convenient wrapper around IntersectionObserver for tracking element position relative to the viewport.☆11Updated 7 years ago
- Tiny image lazy loading library for React.☆20Updated 6 years ago
- Animated Scroll with requestAnimationFrame☆33Updated 3 years ago
- Detect when element scrolled to view☆34Updated 4 years ago
- WCAG contrast ratio measurement and scoring☆124Updated 4 years ago
- Render a subset of a collection with fuzzy searching☆39Updated last year
- A tiny (350B) library to detect when images have loaded.☆39Updated 4 years ago
- Convert PNG to ICO in memory☆136Updated 4 years ago
- Gets form and field data via form.elements☆106Updated 4 years ago
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame rates☆82Updated 4 years ago