Gathering detailed insights and metrics for rc-color-picker-modern
Gathering detailed insights and metrics for rc-color-picker-modern
Gathering detailed insights and metrics for rc-color-picker-modern
Gathering detailed insights and metrics for rc-color-picker-modern
npm install rc-color-picker-modern
Typescript
Module System
Node Version
NPM Version
@rc-component/color-picker@3.0.1
Updated on Mar 21, 2025
@rc-component/color-picker@3.0.0
Updated on Mar 21, 2025
v2.0.1
Updated on Aug 07, 2024
v2.0.0
Updated on Jul 30, 2024
v1.9.0
Updated on Jul 24, 2024
v1.8.3
Updated on Jul 22, 2024
TypeScript (93.42%)
Less (5.72%)
JavaScript (0.69%)
Shell (0.16%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
450 Stars
237 Commits
92 Forks
25 Watchers
27 Branches
41 Contributors
Updated on Jul 17, 2025
Latest Version
1.6.0
Package Id
rc-color-picker-modern@1.6.0
Unpacked Size
65.80 kB
Size
13.50 kB
File Count
62
NPM Version
10.8.1
Node Version
22.3.0
Published on
Jul 07, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
26
React Color Picker.
npm install
npm start
1import ColorPicker from '@rc-component/color-picker'; 2import '@rc-component/color-picker/assets/index.css'; 3 4export default () => <ColorPicker />;
Property | Description | Type | Default |
---|---|---|---|
value | Value of color | string | Color | - |
defaultValue | Default value of color | string | Color | - |
onChange | Callback when value is changed | (value: Color, type: hue | alpha) => void | - |
onChangeComplete | Callback when drag is stop | (value: Color, type: hue | alpha) => void | - |
disabled | Disabled ColorPicker | boolean | false |
disabledAlpha | Disabled alpha slider | boolean | false |
panelRender | Custom panel render | (panel: React.ReactElement) => React.ReactElement | - |
Property | Description | Type | Default |
---|---|---|---|
toHexString | Convert to hex format color string, like #ffffff | () => string | - |
toHsb | Convert to hsb object, like { h: 0, s: 0, b: 0, a: 0 } | () => ({ h: number, s: number, b: number, a number }) | - |
toHsbString | Convert to hsb format color string, like hsba(0, 0%, 0%, 0) | () => string | - |
toRgb | Convert to rgb object, like { r: 0, g: 0, b: 0, a: 0 } | () => ({ r: number, g: number, b: number, a number }) | - |
toRgbString | Convert to rgb format color string, like rgba(0, 0, 0, 0) | () => string | - |
npm test
or
npm run coverage
@rc-component/color-picker is released under the MIT license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 6/30 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More