{"id":13405802,"url":"https://github.com/mazznoer/colorgrad-rs","last_synced_at":"2026-03-27T02:43:37.337Z","repository":{"id":40946057,"uuid":"323916733","full_name":"mazznoer/colorgrad-rs","owner":"mazznoer","description":"Rust color scales library","archived":false,"fork":false,"pushed_at":"2026-02-21T13:18:07.000Z","size":575,"stargazers_count":352,"open_issues_count":2,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-21T18:59:23.550Z","etag":null,"topics":["color","color-gradient","color-scales","colormap","ggr","gimp","visual-encoding","visualization"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mazznoer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"mazznoer","ko_fi":"mazznoer","liberapay":"mazznoer","custom":"https://paypal.me/mazznoer"}},"created_at":"2020-12-23T13:59:55.000Z","updated_at":"2026-02-21T13:18:11.000Z","dependencies_parsed_at":"2024-06-19T05:23:32.242Z","dependency_job_id":"46e41e5c-4655-4a68-a8f7-1c900f3bef39","html_url":"https://github.com/mazznoer/colorgrad-rs","commit_stats":{"total_commits":115,"total_committers":4,"mean_commits":28.75,"dds":0.06956521739130439,"last_synced_commit":"1c66aca27ac733741a3955397a8e087d09e830eb"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/mazznoer/colorgrad-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Fcolorgrad-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Fcolorgrad-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Fcolorgrad-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Fcolorgrad-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazznoer","download_url":"https://codeload.github.com/mazznoer/colorgrad-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Fcolorgrad-rs/sbom","scorecard":{"id":630650,"data":{"date":"2025-08-11","repo":{"name":"github.com/mazznoer/colorgrad-rs","commit":"32ed7a00f18b0cf4132f71fa67dee3f4019349ce"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":6,"reason":"8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mazznoer/colorgrad-rs/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/mazznoer/colorgrad-rs/rust.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-21T07:49:31.613Z","repository_id":40946057,"created_at":"2025-08-21T07:49:31.613Z","updated_at":"2025-08-21T07:49:31.613Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31011702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T02:33:22.146Z","status":"ssl_error","status_checked_at":"2026-03-27T02:33:21.763Z","response_time":164,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","color-gradient","color-scales","colormap","ggr","gimp","visual-encoding","visualization"],"created_at":"2024-07-30T19:02:12.187Z","updated_at":"2026-03-27T02:43:37.325Z","avatar_url":"https://github.com/mazznoer.png","language":"Rust","funding_links":["https://github.com/sponsors/mazznoer","https://ko-fi.com/mazznoer","https://liberapay.com/mazznoer","https://paypal.me/mazznoer","https://github.com/sponsors/mazznoer/"],"categories":["Rust","Libraries","Other"],"sub_categories":["Data visualization"],"readme":"\u003ch1 align=\"center\"\u003ecolorgrad :crab:\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/mazznoer/colorgrad-rs\"\u003e\u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/mazznoer/colorgrad-rs?logo=github\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/mazznoer/colorgrad-rs\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/crates/l/colorgrad\"\u003e\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/colorgrad\"\u003e\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/colorgrad.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://docs.rs/colorgrad\"\u003e\u003cimg alt=\"Documentation\" src=\"https://docs.rs/colorgrad/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/mazznoer/colorgrad-rs/actions\"\u003e\u003cimg alt=\"Build Status\" src=\"https://github.com/mazznoer/colorgrad-rs/actions/workflows/rust.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/colorgrad\"\u003e\u003cimg alt=\"Total Downloads\" src=\"https://img.shields.io/crates/d/colorgrad.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.rust-lang.org/\"\u003eRust\u003c/a\u003e color scales library for data visualization, charts, games, maps, generative art and others.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e\n        \u003ca href=\"https://docs.rs/colorgrad\"\u003eDocumentation\u003c/a\u003e • \u003ca href=\"CHANGELOG.md\"\u003eChangelog\u003c/a\u003e • \u003ca href=\"https://github.com/sponsors/mazznoer/\"\u003eDonate\u003c/a\u003e\n    \u003c/strong\u003e\n\u003c/p\u003e\n\n\u003chr\u003e\n\n## Index\n\n+ [Custom Gradient](#custom-gradient)\n+ [Preset Gradients](#preset-gradients)\n+ [Parsing GIMP Gradient](#parsing-gimp-gradient)\n+ [Using the Gradient](#using-the-gradient)\n+ [Examples](#examples)\n+ [Similar Projects](#similar-projects)\n+ [Projects using `colorgrad`](#projects-using-colorgrad)\n\n## Usage\n\nAdd this to your `Cargo.toml`\n\n```toml\ncolorgrad = \"0.9.0\"\n```\n\n## Custom Gradient\n\n### Basic\n\n```rust\nlet g = colorgrad::GradientBuilder::new().build::\u003ccolorgrad::LinearGradient\u003e()?;\n```\n![img](docs/images/custom-default.png)\n\n### Custom Colors\n\n```rust\nuse colorgrad::Color;\n\nlet g = colorgrad::GradientBuilder::new()\n    .colors(\u0026[\n        Color::from_rgba8(0, 206, 209, 255),\n        Color::from_rgba8(255, 105, 180, 255),\n        Color::new(0.274, 0.5, 0.7, 1.0),\n        Color::from_hsva(50.0, 1.0, 1.0, 1.0),\n        Color::from_hsva(348.0, 0.9, 0.8, 1.0),\n    ])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n```\n![img](docs/images/custom-colors.png)\n\n### Using Web Color Format\n\n`.html_colors()` method accepts [named colors](https://www.w3.org/TR/css-color-4/#named-colors), hexadecimal (`#rgb`, `#rgba`, `#rrggbb`, `#rrggbbaa`), `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, and `hsv()`.\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"#C41189\", \"#00BFFF\", \"#FFD700\"])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n```\n![img](docs/images/custom-hex-colors.png)\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"gold\", \"hotpink\", \"darkturquoise\"])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n```\n![img](docs/images/custom-named-colors.png)\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"rgb(125,110,221)\", \"rgb(90%,45%,97%)\", \"hsl(229,79%,85%)\"])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n```\n![img](docs/images/custom-css-colors.png)\n\n### Using CSS Gradient Format\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .css(\"blue, cyan, gold, purple 70%, tomato 70%, 90%, #ff0\")\n    .build::\u003ccolorgrad::CatmullRomGradient\u003e()?;\n```\n![img](docs/images/css-gradient.png)\n\n### Domain \u0026 Color Position\n\nDefault domain is [0..1].\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"deeppink\", \"gold\", \"seagreen\"])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n\nassert_eq!(g.domain(), (0.0, 1.0));\n```\n![img](docs/images/domain-default.png)\n\nSet the domain to [0..100].\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"deeppink\", \"gold\", \"seagreen\"])\n    .domain(\u0026[0.0, 100.0])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n\nassert_eq!(g.domain(), (0.0, 100.0));\n```\n![img](docs/images/domain-100.png)\n\nSet the domain to [-1..1].\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"deeppink\", \"gold\", \"seagreen\"])\n    .domain(\u0026[-1.0, 1.0])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n\nassert_eq!(g.domain(), (-1.0, 1.0));\n```\n![img](docs/images/domain-neg1-1.png)\n\nSet exact position for each color. The domain is [0..1].\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"deeppink\", \"gold\", \"seagreen\"])\n    .domain(\u0026[0.0, 0.7, 1.0])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n\nassert_eq!(g.domain(), (0.0, 1.0));\n```\n![img](docs/images/color-position-1.png)\n\nSet exact position for each color. The domain is [15..80].\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"deeppink\", \"gold\", \"seagreen\"])\n    .domain(\u0026[15.0, 30.0, 80.0])\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n\nassert_eq!(g.domain(), (15.0, 80.0));\n```\n![img](docs/images/color-position-2.png)\n\n### Blending Mode\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"#FFF\", \"#00F\"])\n    .mode(colorgrad::BlendMode::Rgb)\n    .build::\u003ccolorgrad::LinearGradient\u003e()?;\n```\n\n![Blending Modes](docs/images/blend-modes-v0.7.png)\n\n### Interpolation Mode\n\n```rust\nlet g = colorgrad::GradientBuilder::new()\n    .html_colors(\u0026[\"#C41189\", \"#00BFFF\", \"#FFD700\"])\n    .build::\u003ccolorgrad::BasisGradient\u003e()?;\n```\n\n`LinearGradient`\n![Interpolation Linear](docs/images/interpolation_linear.png)\n\n`SmoothstepGradient`\n![Interpolation Smoothstep](docs/images/interpolation_smoothstep.png)\n\n`CatmullRomGradient`\n![Interpolation CatmullRom](docs/images/interpolation_catmull_rom.png)\n\n`BasisGradient`\n![Interpolation Basis](docs/images/interpolation_basis.png)\n\n## Preset Gradients\n\nSee [PRESET.md](PRESET.md)\n\n## Parsing GIMP Gradient\n\n```rust\nuse colorgrad::{Color, GimpGradient};\nuse std::fs::File;\nuse std::io::BufReader;\n\nlet input = File::open(\"examples/Abstract_1.ggr\")?;\nlet buf = BufReader::new(input);\nlet col = Color::default();\nlet grad = GimpGradient::new(buf, \u0026col, \u0026col)?;\n\nassert_eq!(grad.name(), \"Abstract 1\");\n```\n\n![img](docs/images/ggr_abstract_1.png)\n\n## Using the Gradient\n\n### Get the domain\n\n```rust\nlet grad = colorgrad::preset::rainbow();\n\nassert_eq!(grad.domain(), (0.0, 1.0));\n```\n\n### Get single color at certain position\n\n```rust\nuse colorgrad::Gradient;\n\nlet grad = colorgrad::preset::blues();\n\nassert_eq!(grad.at(0.0).to_rgba8(), [247, 251, 255, 255]);\nassert_eq!(grad.at(0.5).to_rgba8(), [109, 174, 213, 255]);\nassert_eq!(grad.at(1.0).to_rgba8(), [8,   48,  107, 255]);\n\nassert_eq!(grad.at(0.3).to_rgba8(), grad.repeat_at(0.3).to_rgba8());\nassert_eq!(grad.at(0.3).to_rgba8(), grad.reflect_at(0.3).to_rgba8());\n\nassert_eq!(grad.at(0.7).to_rgba8(), grad.repeat_at(0.7).to_rgba8());\nassert_eq!(grad.at(0.7).to_rgba8(), grad.reflect_at(0.7).to_rgba8());\n```\n\nThe difference of `at()`, `repeat_at()` and `reflect_at()`.\n\n![Spread Modes](docs/images/spread-modes.png)\n\n### Get n colors evenly spaced across gradient\n\n```rust\nuse colorgrad::Gradient;\n\nlet grad = colorgrad::preset::rainbow();\n\nfor c in grad.colors(10) {\n    println!(\"{}\", c.to_css_hex());\n}\n```\n\nOutput:\n\n```console\n#6e40aa\n#c83dac\n#ff5375\n#ff8c38\n#c9d33a\n#7cf659\n#5dea8d\n#48b8d0\n#4775de\n#6e40aa\n```\n\n### Hard-Edged Gradient\n\nConvert gradient to hard-edged gradient with 11 segments and 0 smoothness.\n\n```rust\nlet g = colorgrad::preset::rainbow().sharp(11, 0.0);\n```\n![img](docs/images/rainbow-sharp.png)\n\nThis is the effect of different smoothness.\n\n![img](docs/images/sharp-gradients.png)\n\n## Examples\n\n### Gradient Image\n\n```rust\nuse colorgrad::Gradient;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let width = 1300.0;\n    let height = 70.0;\n\n    // custom gradient\n    let grad = colorgrad::GradientBuilder::new()\n        .html_colors(\u0026[\"deeppink\", \"gold\", \"seagreen\"])\n        .build::\u003ccolorgrad::CatmullRomGradient\u003e()?;\n\n    let imgbuf = image::ImageBuffer::from_fn(width as u32, height as u32, |x, _| {\n        image::Rgba(grad.at(x as f32 / width).to_rgba8())\n    });\n    imgbuf.save(\"gradient.png\")?;\n\n    Ok(())\n}\n```\n\nExample output:\n\n![img](docs/images/example-gradient.png)\n\n### Colored Noise\n\n```rust\nuse colorgrad::Gradient;\nuse noise::NoiseFn;\n\nfn main() {\n    let scale = 0.015;\n\n    let grad = colorgrad::preset::rainbow().sharp(5, 0.15);\n    let ns = noise::OpenSimplex::new(0);\n\n    let imgbuf = image::ImageBuffer::from_fn(600, 350, |x, y| {\n        let t = ns.get([x as f64 * scale, y as f64 * scale]);\n        image::Rgba(grad.at(norm(t as f32, -0.5, 0.5)).to_rgba8())\n    });\n    imgbuf.save(\"noise.png\").unwrap();\n}\n\nfn norm(t: f32, a: f32, b: f32) -\u003e f32 {\n    (t - a) * (1.0 / (b - a))\n}\n```\n\nExample output:\n\n![img](docs/images/example-noise.png)\n\n## Features\n\n### Default\n\n* __std__: Using the standard library.\n\nCan be disabled using `default-features = false`.\n\n### Optional\n\n* __named-colors__: Enables parsing from [named colors](https://www.w3.org/TR/css-color-4/#named-colors).\n* __preset__: Preset gradients.\n* __ggr__: Parsing GIMP gradient format.\n\n## Similar Projects\n\n* [colorgrad](https://github.com/mazznoer/colorgrad) (Go version of this library)\n* [colorous](https://github.com/dtolnay/colorous) (Rust)\n* [chroma.js](https://gka.github.io/chroma.js/#color-scales) (Javascript)\n* [d3-scale-chromatic](https://github.com/d3/d3-scale-chromatic/) (Javascript)\n\n## Projects using `colorgrad`\n\n* [binocle](https://github.com/sharkdp/binocle) - A graphical tool to visualize binary data\n* [bytehound](https://github.com/koute/bytehound) - A memory profiler for Linux\n* [cosmic-bg](https://github.com/pop-os/cosmic-bg/) - COSMIC session service which applies backgrounds to displays\n* [eruption](https://github.com/X3n0m0rph59/eruption) - A Linux user-mode input and LED driver for keyboards, mice and other devices\n* [gradient](https://github.com/mazznoer/gradient-rs) - A command line tool for playing with color gradient\n* [lcat](https://github.com/davidkna/lcat-rs) - `lolcat` clone\n* [lolcrab](https://github.com/mazznoer/lolcrab) - `lolcat` but with noise (`lcat` fork)\n* [rust-fractal](https://github.com/rust-fractal/rust-fractal-core) - Mandelbrot fractal visualizer\n* [WezTerm](https://github.com/wez/wezterm) - A GPU-accelerated cross-platform terminal emulator and multiplexer\n* and [many others..](https://github.com/mazznoer/colorgrad-rs/network/dependents)\n\n## Links\n\n* [Color Blindness Simulator](https://www.color-blindness.com/coblis-color-blindness-simulator/)\n* [Visual System Simulator](https://github.com/UniStuttgart-VISUS/visual-system-simulator)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazznoer%2Fcolorgrad-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazznoer%2Fcolorgrad-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazznoer%2Fcolorgrad-rs/lists"}