{"id":13936879,"url":"https://github.com/plotly/colorlover","last_synced_at":"2026-02-23T04:32:58.717Z","repository":{"id":49340275,"uuid":"30054576","full_name":"plotly/colorlover","owner":"plotly","description":"Color scales in Python for humans","archived":false,"fork":false,"pushed_at":"2025-01-27T14:38:01.000Z","size":54,"stargazers_count":163,"open_issues_count":12,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-14T07:37:18.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/plotly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2015-01-30T03:37:49.000Z","updated_at":"2025-11-04T19:15:04.000Z","dependencies_parsed_at":"2025-01-27T15:32:33.951Z","dependency_job_id":"a56ba082-cdbf-40a7-836b-b2d56a3c1ec4","html_url":"https://github.com/plotly/colorlover","commit_stats":{"total_commits":24,"total_committers":8,"mean_commits":3.0,"dds":0.6666666666666667,"last_synced_commit":"d5d60d821c87dfb883b26fbfef6565bfd208bb37"},"previous_names":["jackparmer/colorlover"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/plotly/colorlover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fcolorlover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fcolorlover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fcolorlover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fcolorlover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plotly","download_url":"https://codeload.github.com/plotly/colorlover/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fcolorlover/sbom","scorecard":{"id":500790,"data":{"date":"2025-08-11","repo":{"name":"github.com/plotly/colorlover","commit":"1210f8fad7fdbceb9fa26710110a215c330d1f5e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Code-Review","score":2,"reason":"Found 6/26 approved changesets -- score normalized to 2","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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: pipCommand not pinned by hash: .circleci/create_env.sh:4","Info:   0 out of   1 pipCommand 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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE: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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T21:47:46.739Z","repository_id":49340275,"created_at":"2025-08-19T21:47:46.739Z","updated_at":"2025-08-19T21:47:46.739Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T02:24:00.660Z","status":"ssl_error","status_checked_at":"2026-02-23T02:22:56.087Z","response_time":90,"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":[],"created_at":"2024-08-07T23:03:04.985Z","updated_at":"2026-02-23T04:32:58.665Z","avatar_url":"https://github.com/plotly.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# colorlover\n\nColor scales for humans\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://dash.plotly.com/project-maintenance\"\u003e\n    \u003cimg src=\"https://dash.plotly.com/assets/images/maintained-by-plotly.png\" width=\"400px\" alt=\"Maintained by Plotly\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\nIPython notebook: https://plot.ly/ipython-notebooks/color-scales/\n\n```\nimport colorlover as cl\nfrom IPython.display import HTML\nHTML(cl.to_html( cl.flipper()['seq']['3'] ))\n```\n\n![alt tag](http://i.imgur.com/XUUYEKy.png)\n\n\n## Install\n\n```\nsudo pip install colorlover\n```\n\n## IPython notebook (demo)\n\nhttps://plot.ly/ipython-notebooks/color-scales/\n\n## Docs\n\n### cl.scales\n\nAll of the color scales in colorlover\n\n```\n\u003e\u003e\u003e import colorlover as cl\n\u003e\u003e\u003e cl.scales['3']['div']['RdYlBu']\n\n['rgb(252,141,89)', 'rgb(255,255,191)', 'rgb(145,191,219)']\n```\n\n### cl.to_numeric( scale ) \n\nConverts scale of RGB or HSL strings to list of tuples with RGB integer values\n\n```\n\u003e\u003e\u003e cl.to_numeric( cl.scales['3']['div']['RdYlBu'] )\n\n[(252.0, 141.0, 89.0), (255.0, 255.0, 191.0), (145.0, 191.0, 219.0)]\n```\n\n### cl.to_hsl( scale ) \n\nConverts a string RGB or numeric RGB colorscale to HSL\n\n```\n\u003e\u003e\u003e cl.to_hsl( cl.scales['3']['div']['RdYlBu'] )\n\n['hsl(19.0, 96.0%, 67.0%)', 'hsl(60.0, 100.0%, 87.0%)', 'hsl(203.0, 51.0%, 71.0%)']\n```\n\n### cl.to_rgb( scale )\n\nConvert an HSL or numeric RGB color scale to string RGB color scale\n\n```\n\u003e\u003e\u003e cl.to_rgb( cl.scales['3']['div']['RdYlBu'] )\n\n['rgb(252,141,89)', 'rgb(255,255,191)', 'rgb(145,191,219)']\n```\n\n### cl.to_html( scale )\n\nTraverse color scale dictionary and return available color scales as HTML string\n\n```\n\u003e\u003e\u003e cl.to_html( cl.scales['3']['div']['RdYlBu'] )\n\n'\u003cdiv style=\"background-color:rgb(252,141,89);height:20px;width:20px;display:inline-block;\"\u003e\u003c/div\u003e\u003cdiv style=\"background-color:rgb(255,255,191);height:20px;width:20px;display:inline-block;\"\u003e\u003c/div\u003e\u003cdiv style=\"background-color:rgb(145,191,219);height:20px;width:20px;display:inline-block;\"\u003e\u003c/div\u003e'\n```\n\n### cl.flipper( scale=None )\n\nReturn the inverse of the color scale dictionary cl.scale\n\n```\n\u003e\u003e\u003e cl.flipper()['div']['3']['RdYlBu']\n\n['rgb(252,141,89)', 'rgb(255,255,191)', 'rgb(145,191,219)']\n```\n\n### cl.interp( scale, r )\n\ndef interp(scl, r):\n\nInterpolate a color scale \"scale\" to a new one with length \"r\" \n\n```\n# fun usage in IPython notebook\nfrom IPython.display import HTML\nHTML( to_html( to_hsl( interp( cl.scales['11']['qual']['Paired'], 5000 ) ) ) )\n```\n\n## All colors in cl.scales\n\n```\n# (in IPython notebook)\nfrom IPython.display import HTML\nHTML(cl.to_html( cl.scales ))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotly%2Fcolorlover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplotly%2Fcolorlover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotly%2Fcolorlover/lists"}