{"id":13691569,"url":"https://yeun.github.io/open-color/","last_synced_at":"2025-05-02T15:32:34.810Z","repository":{"id":11124642,"uuid":"65090756","full_name":"yeun/open-color","owner":"yeun","description":"Color scheme for UI design.","archived":false,"fork":false,"pushed_at":"2023-12-10T16:29:40.000Z","size":506,"stargazers_count":5286,"open_issues_count":23,"forks_count":242,"subscribers_count":83,"default_branch":"master","last_synced_at":"2024-11-06T09:42:48.422Z","etag":null,"topics":["adobe-library","color","color-scheme","scss","stylus","swatches"],"latest_commit_sha":null,"homepage":"https://yeun.github.io/open-color/","language":"Handlebars","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yeun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"yeun","patreon":"heeyeun","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"custom":null}},"created_at":"2016-08-06T16:10:41.000Z","updated_at":"2024-11-06T08:08:11.000Z","dependencies_parsed_at":"2024-05-05T15:56:54.022Z","dependency_job_id":null,"html_url":"https://github.com/yeun/open-color","commit_stats":{"total_commits":190,"total_committers":37,"mean_commits":5.135135135135135,"dds":0.6263157894736842,"last_synced_commit":"3a716ee1f5ff5456db33cb8a6e964afdca1e7bc3"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeun%2Fopen-color","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeun%2Fopen-color/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeun%2Fopen-color/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeun%2Fopen-color/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeun","download_url":"https://codeload.github.com/yeun/open-color/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224108980,"owners_count":17257231,"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":["adobe-library","color","color-scheme","scss","stylus","swatches"],"created_at":"2024-08-02T17:00:46.640Z","updated_at":"2024-11-12T17:31:24.381Z","avatar_url":"https://github.com/yeun.png","language":"Handlebars","funding_links":["https://github.com/sponsors/yeun","https://patreon.com/heeyeun"],"categories":["Frontend","Presentation","设计","Tools for Picking Colors","Design Resources","Design Tools","Table of Contents","Color Palettes","No choice"],"sub_categories":["Palettes de couleurs","网站","Colors","Color Palettes"],"readme":"# Open color\n\nOpen color is an [open-source](https://en.wikipedia.org/wiki/Open-source_software) color scheme optimized for UI like font, background, border, etc.\n\n## Goals\n\n- All colors shall have adequate use\n- Provide general color for UI design\n- All colors will be beautiful in itself and harmonious\n- At the same brightness level, the perceived brightness will be constant\n\n**Note**\n\n* The colors are subject to change in the future. Thus, using an Open color as a main identity color is not recommended.\n\n## Available Colors\n\n![available colors](https://yeun.github.io/open-color/asset/images/open-color.svg)\n\n## Installation\n\n```\n$ npm install open-color\n```\nor\n```\n$ bower install open-color\n```\n\n## Currently Supported Formats, Language Environments, Libraries\n\nCSS, Sass, Less, Stylus, JSON, SVG, TeX, Open Color Tools (.oco), PowerPaint (.rcpx), Sketch (.sketchpalette), Inkscape, aco, clr, Tailwind, TypeScript\n\n## Variable Convention\n\n### Sass, SCSS\n\n```sass\n$oc-(color)-(number)\n```\n\n### Less\n\n```less\n@oc-(color)-(number)\n```\n\n### Stylus\n\n```styl\noc-(color)-(number)\n```\n### CSS\n\n```css\n--oc-(color)-(number)\n```\n\n---\n\n- `oc`:  Abbreviation for Open color\n- `(color)`: Color name such as gray, red, lime, etc.\n- `(number)`: 0 to 9. Brightness spectrum.\n\n## How to Use\n\nImport the file to your project and use the variables.\n\n**Example for Sass, SCSS**\n\n```sass\n@import 'path/open-color';\n\n.body {\n  background-color: $oc-gray-0;\n  color: $oc-gray-7;\n}\n\na {\n  color: $oc-teal-7;\n\n  \u0026:hover,\n  \u0026:focus,\n  \u0026:active {\n    color: $oc-indigo-7;\n  }\n}\n```\n\n**Example for Tailwind CSS**\n\n```js\nmodule.exports = {\n  presets: [require(\"./open-color.js\")],\n  purge: [],\n  mode: \"jit\",\n  darkMode: false,\n  theme: {\n    extend: {},\n  },\n  variants: {\n    extend: {},\n  },\n  plugins: [],\n};\n\n```\n\n**Example for Less**\n\n```less\n@import 'path/open-color';\n\n.body {\n  background-color: @oc-gray-0;\n  color: @oc-gray-7;\n}\n\na {\n  color: @oc-teal-7;\n\n  \u0026:hover,\n  \u0026:focus,\n  \u0026:active {\n    color: @oc-indigo-7;\n  }\n}\n```\n\n**Example for Stylus**\n\n```styl\n@import 'path/open-color.styl'\n\n.body\n  background-color: oc-gray-0\n  color: oc-gray-7\n\na\n  color: oc-teal-7\n\n  \u0026:hover\n  \u0026:focus\n  \u0026:active\n    color: oc-indigo-7\n```\n\n**Example for CSS**\n\n```css\n@import 'path/open-color.css';\n\n.body {\n  background-color: var(--oc-gray-0);\n  color: var(--oc-gray-7);\n}\n\na {\n  color: var(--oc-teal-7);\n}\n\na:hover,\na:focus,\na:active {\n  color: var(--oc-indigo-7);\n}\n```\n\n## Other Language Bindings\n\n- Julia : [OpenColor.jl](https://github.com/appleparan/OpenColor.jl)\n- Go : [opencolor](https://pkg.go.dev/github.com/jsynacek/go-open-color/opencolor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/yeun.github.io%2Fopen-color%2F","html_url":"https://awesome.ecosyste.ms/projects/yeun.github.io%2Fopen-color%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/yeun.github.io%2Fopen-color%2F/lists"}