{"id":25543957,"url":"https://github.com/dimitrinicolas/lepto-vibrant-color","last_synced_at":"2025-06-27T01:32:14.761Z","repository":{"id":81565293,"uuid":"137038590","full_name":"dimitrinicolas/lepto-vibrant-color","owner":"dimitrinicolas","description":"Lepto plugin using node-vibrant","archived":false,"fork":false,"pushed_at":"2018-06-18T11:51:57.000Z","size":231,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T08:07:36.021Z","etag":null,"topics":["lepto","lepto-plugin"],"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/dimitrinicolas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-06-12T08:09:39.000Z","updated_at":"2023-03-01T14:40:59.000Z","dependencies_parsed_at":"2023-06-18T07:45:28.147Z","dependency_job_id":null,"html_url":"https://github.com/dimitrinicolas/lepto-vibrant-color","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dimitrinicolas/lepto-vibrant-color","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrinicolas%2Flepto-vibrant-color","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrinicolas%2Flepto-vibrant-color/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrinicolas%2Flepto-vibrant-color/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrinicolas%2Flepto-vibrant-color/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitrinicolas","download_url":"https://codeload.github.com/dimitrinicolas/lepto-vibrant-color/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrinicolas%2Flepto-vibrant-color/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262172413,"owners_count":23270006,"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":["lepto","lepto-plugin"],"created_at":"2025-02-20T07:39:54.746Z","updated_at":"2025-06-27T01:32:14.710Z","avatar_url":"https://github.com/dimitrinicolas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lepto-vibrant-color\n\n```console\n$ npm i -D lepto-vibrant-color\n```\n\nSee [lepto documentation](https://github.com/dimitrinicolas/lepto) for usage.\n\nThis plugin use the [`node-vibrant`](https://github.com/akfish/node-vibrant) module.\n\nDefault options:\n```js\n\"use\": [\n  {\n    \"name\": \"lepto-vibrant-color\"\n  }\n]\n```\n\n![lepto-vibrant-color demo](picture.png)\n\nThe different vibrant colors are:\n\n* vibrant\n* lightVibrant\n* darkVibrant\n* muted\n* lightMuted\n* darkMuted\n\n## Usage advices\n\nIf you use an image as a css `background-image`, you can easily set the element's `background-color` to one of its vibrant color. Don't worry, `background-image` will always override `background-color` when the image is loaded. You could also use the `background` shortcut:\n\n```html\n\u003cdiv class=\"some-class\" style=\"background: #4b8dbc url(assets/output/image.jpg);\"\u003e\u003c/div\u003e\n```\n\n## License\n\nThis project is licensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrinicolas%2Flepto-vibrant-color","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitrinicolas%2Flepto-vibrant-color","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrinicolas%2Flepto-vibrant-color/lists"}