@fantasy-color/from-rgb
@fantasy-color/from-rgb
npm i @fantasy-color/from-rgb
@fantasy-color/from-rgb

@fantasy-color/from-rgb

🍱 metarepo of many packages and various monorepos

by bubble-dev

2.1.0 (see all)License:MITTypeScript:Built-In
npm i @fantasy-color/from-rgb
Readme

@fantasy-color/from-rgb

Parse a CSS RGB string into a RGB object.

type fromRgb = (rgb: string) => RGB

Example usage:

import fromRgb from '@fantasy-color/from-rgb'

fromRgb('rgb(0, 250, 10)')
// { red: 0, green: 250, blue: 10 }

Downloads/wk

14

GitHub Stars

50

LAST COMMIT

1yr ago

MAINTAINERS

9

CONTRIBUTORS

6

OPEN ISSUES

6

OPEN PRs

37
VersionTagPublished
2.1.0
latest
1yr ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate