{"id":24904929,"url":"https://github.com/okaneco/palgrad","last_synced_at":"2025-10-16T16:31:29.193Z","repository":{"id":57652133,"uuid":"226176579","full_name":"okaneco/palgrad","owner":"okaneco","description":"Utility to generate gradients and color palettes for artists and designers","archived":false,"fork":false,"pushed_at":"2020-04-08T02:33:22.000Z","size":71,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T13:08:47.423Z","etag":null,"topics":["color-palette","command-line-tool","continuous-gradient","linear-gradient","palgrad","radial-gradient","stepped-gradient"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okaneco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-05T19:43:32.000Z","updated_at":"2023-10-01T04:59:35.000Z","dependencies_parsed_at":"2022-08-28T02:23:14.184Z","dependency_job_id":null,"html_url":"https://github.com/okaneco/palgrad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaneco%2Fpalgrad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaneco%2Fpalgrad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaneco%2Fpalgrad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaneco%2Fpalgrad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okaneco","download_url":"https://codeload.github.com/okaneco/palgrad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236735028,"owners_count":19196362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-palette","command-line-tool","continuous-gradient","linear-gradient","palgrad","radial-gradient","stepped-gradient"],"created_at":"2025-02-01T23:46:04.524Z","updated_at":"2025-10-16T16:31:23.915Z","avatar_url":"https://github.com/okaneco.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# palgrad\n[![Build Status](https://travis-ci.com/okaneco/palgrad.svg?branch=master)](https://travis-ci.com/okaneco/palgrad)\n[![Crates.io](https://img.shields.io/crates/v/palgrad.svg)](https://crates.io/crates/palgrad)\n\n\n![Radial gradients and linear gradient](gfx/hero.png)\n\n`palgrad` is a command line utility that creates color gradients and palettes from user input colors.\n\nGradients are created in `Lch` color space (also known as `HCL`), the cylindrical representaiton of the `Lab` or `L*a*b*` color space. Using this color space, gradients are generally more vibrant and visually appealing than other spaces like `HSV` or `RGB`.\n\n## Features\n\n- Radial and linear continuous gradients\n- Radial continuous gradients with overlay\n- Radial and linear stepped gradients\n- Declare colors in `Lch`, `HSV`, and `RGB`\n\nSome ideas for using the output:\n- gamut masking\n- pixelization to make more color swatches\n- bring into digital painting programs to color pick from as limited palettes and apply more filters\n- website/application color themes\n\nThis crate uses [`palette`](https://github.com/Ogeon/palette) to handle the heavy lifting of color conversion.\n\n## Examples\n\n### Overlay color on radial gradient\n![Radial gradients and linear gradien](gfx/ex-overlay.png)\n\n```bash\npalgrad -c -o -s 128\n```\nOverlay a 50% grey over the default RGB colors in `-c` with a size of 128x128 pixels. An overlay RGB color can be specified after the `-o` argument.\n\n### Stepped radial gradient\n![Radial gradients and linear gradien](gfx/ex-radial-stepped-radius.png)\n\n```bash\npalgrad --hsv -n 5 -s 128 -r 0.25\n```\nUse the default HSV colors `--hsv`, 5 steps between the colors, size of 128x128, and inner radius factor of `-r 0.25`.\n\n### Stepped linear gradient\n![Radial gradients and linear gradien](gfx/ex-step-linear.png)\n\n```bash\npalgrad -l -d -n 8 --ss 30x20\n```\nMake a linear gradient `-l` with the default RGB decimal colors `-d`, 8 steps between the two colors, and the swatch sizes are 30x20 pixels each. To make a continuous gradient, omit the steps argument `-n`.\n\n\n## License\n\nThis crate is licensed under either\n- the [MIT License](LICENSE-MIT), or\n- the [Apache License (Version 2.0)](LICENSE-APACHE)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokaneco%2Fpalgrad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokaneco%2Fpalgrad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokaneco%2Fpalgrad/lists"}