{"id":19373376,"url":"https://github.com/xop/postcss-rgba-hex","last_synced_at":"2025-04-23T16:34:11.263Z","repository":{"id":57328461,"uuid":"44685884","full_name":"XOP/postcss-rgba-hex","owner":"XOP","description":"PoscCSS plugin that replaces RGB(a) values with hexadecimal analogues","archived":false,"fork":false,"pushed_at":"2016-10-20T08:49:09.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-10T03:42:55.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/XOP.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-21T15:28:47.000Z","updated_at":"2021-05-27T14:37:51.000Z","dependencies_parsed_at":"2022-09-21T01:52:07.840Z","dependency_job_id":null,"html_url":"https://github.com/XOP/postcss-rgba-hex","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XOP%2Fpostcss-rgba-hex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XOP%2Fpostcss-rgba-hex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XOP%2Fpostcss-rgba-hex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XOP%2Fpostcss-rgba-hex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XOP","download_url":"https://codeload.github.com/XOP/postcss-rgba-hex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223930563,"owners_count":17227098,"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":[],"created_at":"2024-11-10T08:28:00.883Z","updated_at":"2024-11-10T08:28:01.336Z","avatar_url":"https://github.com/XOP.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-rgba-hex\n\n[![npm version](https://badge.fury.io/js/postcss-rgba-hex.svg)](https://www.npmjs.com/package/postcss-rgba-hex) [![build status](https://travis-ci.org/XOP/postcss-rgba-hex.svg)](https://travis-ci.org/XOP/postcss-rgba-hex)\n\n\u003e [PostCSS](https://github.com/postcss/postcss) plugin that replaces RGB(a) values with hexadecimal analogues\n\n\n## Processing example\n\nthis code\n\n```\n.element {\n    border: 2px solid rgba(0,0,0,.2);\n}\n```\n\nconverts to\n\n```\n.element {\n    border: 2px solid #000000;\n}\n```\n\n\n## Installation\n\n```\nnpm i --save-dev postcss-rgba-hex\n```\n\n\n## Usage\n\n```\npostcss([ require('postcss-rgba-hex') ])\n```\nPlease refer to [PostCSS documentation](https://github.com/postcss/postcss#usage) for you current environment.\n\n\n### Options\n\n#### `rgbOnly` [Boolean]\ndefault: `false`\n\nProcess only rgb color values\n\n#### `rgbaOnly` [Boolean]\ndefault: `false`\n\nProcess only rgba color values\n\n#### `silent` [Boolean]\ndefault: `false`\n\nOmit verbose conversion logging\n\n\n## [Changelog](CHANGELOG)\n\n\n## [License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxop%2Fpostcss-rgba-hex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxop%2Fpostcss-rgba-hex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxop%2Fpostcss-rgba-hex/lists"}