{"id":18366197,"url":"https://github.com/ozwaldorf/oklabby","last_synced_at":"2025-08-14T05:12:18.790Z","repository":{"id":231401666,"uuid":"781703860","full_name":"ozwaldorf/oklabby","owner":"ozwaldorf","description":"Simple cli tool for oklab color manipulation","archived":false,"fork":false,"pushed_at":"2024-04-26T20:25:53.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T17:00:43.050Z","etag":null,"topics":["cli","color","oklab","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ozwaldorf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-04-03T22:03:19.000Z","updated_at":"2024-04-26T20:25:56.000Z","dependencies_parsed_at":"2024-04-03T23:25:23.677Z","dependency_job_id":"0ac98e50-73d5-4b8a-9660-5ac1486f16c2","html_url":"https://github.com/ozwaldorf/oklabby","commit_stats":null,"previous_names":["ozwaldorf/oklabby"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ozwaldorf/oklabby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Foklabby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Foklabby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Foklabby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Foklabby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozwaldorf","download_url":"https://codeload.github.com/ozwaldorf/oklabby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Foklabby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270364971,"owners_count":24571423,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","color","oklab","rust"],"created_at":"2024-11-05T23:16:31.394Z","updated_at":"2025-08-14T05:12:18.755Z","avatar_url":"https://github.com/ozwaldorf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oklabby\n\nSimple cli tool for oklab color manipulation\n\n## Usage\n\n### Install from source\n\n```bash\ngit clone https://github.com/ozwaldorf/oklabby\ncargo install --path .\n```\n\n### Nix\n\nA nix flake is available and can be run easily with:\n\n```bash\nnix run github:ozwaldorf/oklabby\n```\n\nCache is provided via https://garnix.io\n\n### Examples\n\n#### Show different encodings of colors\n\n```bash\noklabby show 000 fff\n```\n\n#### Average N colors\n\n![image](https://github.com/ozwaldorf/oklabby/assets/8976745/e41bba07-f376-4ef1-9a68-ea48396e1aa7)\n\n```bash\n# rgb hex codes\noklabby average 000 ffffff ...\n\n# or use oklab floats directly\noklabby average \"[0.0, 0.5, 1.0]\" \"[0,0,0]\" ...\n```\n\n#### Quantize N steps between colors (inclusive)\n\n![image](https://github.com/ozwaldorf/oklabby/assets/8976745/26638af3-6df0-47a6-a6c9-07df644af348)\n\n```bash\noklabby quantize -s16 fff \"[0,0,0]\"\n```\n\n#### Generate shades using quantize\n\n![image](https://github.com/ozwaldorf/oklabby/assets/8976745/ac8d0359-feae-4e7d-804e-8930904efde2)\n\n```bash\noklabby quantize -s9 000 00f fff\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozwaldorf%2Foklabby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozwaldorf%2Foklabby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozwaldorf%2Foklabby/lists"}