Fetch the raw gradients.json file from GitHub and use the named gradient data in a web or mobile app color picker.
Browse the collection to pick a gradient name and hex values for a UI background, card, or button design.
Add a new named gradient to the community collection by appending two hex color values to the JSON file and opening a pull request.
uiGradients is a community-maintained collection of named color gradients for use in design work and web development. Every gradient in the project is stored as a single JSON entry containing a name and a list of two or more HEX color values. The entire collection lives in one file, gradients.json, at the root of the repository. There is no build system or runtime component, the file itself is the deliverable. The collection is publicly accessible without authentication. Fetching the raw file from GitHub returns all gradient definitions in a format any programming language can parse in a few lines. The README does not describe a web interface or design tool, the project's value is the data, not an application built on top of it. A number of community projects have built on this dataset. These include a UIColor extension for iOS, a Swift color library, styled-component wrappers for React, an SCSS port, a Handlebars template helper, and standalone iOS apps for browsing and picking gradients from the collection. The README links to each of these. Contributing a new gradient requires no special setup. Fork the repository, append an entry to gradients.json with a chosen name and at least two HEX color values, and submit a pull request. The README asks that gradient submissions and bug fixes be kept in separate pull requests to keep reviews straightforward. The JSON structure is minimal, so the barrier to contributing is low. The project is released under the MIT license. The README is brief, most of the project's value is conveyed by the data file itself.
← ghosh on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.