Gathering detailed insights and metrics for node-red-contrib-colorspace
Gathering detailed insights and metrics for node-red-contrib-colorspace
npm install node-red-contrib-colorspace
Typescript
Module System
Node Version
NPM Version
71.2
Supply Chain
97.7
Quality
75.1
Maintenance
100
Vulnerability
100
License
JavaScript (90.52%)
HTML (9.48%)
Total Downloads
3,233
Last Day
1
Last Week
22
Last Month
119
Last Year
675
2 Stars
12 Commits
2 Forks
1 Watching
2 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.3
Package Id
node-red-contrib-colorspace@1.0.3
Unpacked Size
17.83 kB
Size
5.18 kB
File Count
5
NPM Version
6.14.15
Node Version
12.22.8
Cumulative downloads
Total Downloads
Last day
-50%
1
Compared to previous day
Last week
15.8%
22
Compared to previous week
Last month
54.5%
119
Compared to previous month
Last year
-2.3%
675
Compared to previous year
2
3
node-red-contrib-colorspace imports into NodeRed the conversion from npm packages color-convert and color-temperature
Please note that color temperature is a extimation! It's very usefull to emulate color temperature in RGB lamps, but the values are not 100% accurate.
Just run
npm install node-red-contrib-colorspace
This node recives any of the supported color spaces (RGB, RGBW, HSV, HSI, HEX, HSL, HWB, CMYK, ANSI, XYZ, LAB, LCH, Color Name, HCG, GARY, Color Temperature) and returns all of the other)
Return
{
"rgb":{
"red":140,
"green":200,
"blue":100
},
"rgbw":{
"red":40,
"green":94,
"blue":0,
"white":100
},
"hsi":{
"hue":95,
"staturation":31,
"intensity":57
},
"hsv":{
"hue":96,
"staturation":50,
"brightness":78
},
"hex":"8CC864",
"hsl":{
"hue":96,
"staturation":48,
"lightness":59
},
"hwb":{
"hue":96,
"whiteness":39,
"blackness":22
},
"cmyk":{
"cyan":30,
"magenta":0,
"yellow":50,
"black":22
},
"ansi16":93,
"xyz":{
"x":34,
"y":48,
"z":20
},
"lab":{
"longitude":75,
"latitude":-37,
"altitude":44
},
"lch":{
"lightness":75,
"chroma":57,
"hue":130
},
"keyword":"darkseagreen",
"hcg":{
"hue":96,
"chroma":39,
"grayness":65
},
"gray":[
58
],
"rgbi":9226340,
"temperature":4429
}
You can send in the payload one of the types supported
You can send
RGB
{
"payload":{
"rgb": {
"red": 255,
"green": 10,
"blue": 20
}
}
}
RGBW
{
"payload":{
"rgbw": {
"red": 40,
"green": 94,
"blue": 0,
"white": 100
}
}
}
HSI
{
"payload":{
"hsi": {
"hue": 95,
"staturation": 31,
"intensity": 57
}
}
}
HSV
{
"payload":{
"hsv": {
"hue": 358,
"staturation": 96,
"brightness": 100
}
}
}
HSL
{
"payload":{
"hsl": {
"hue": 358,
"staturation": 96,
"lightness": 52
}
}
}
HWB
{
"payload":{
"hwb": {
"hue": 358,
"whiteness": 4,
"blackness": 0
}
}
}
CMYK
{
"payload":{
"cmyk": {
"cyan": 0,
"magenta": 96,
"yellow": 92,
"black": 0
}
}
}
CMYK
{
"payload":{
"xyz": {
"x": 41,
"y": 22,
"z": 3
}
}
}
HEX
{
"payload":{
"hex": "FF0A14"
}
}
Temperature
{
"payload":{
"temperatute": 5000
}
}
Keyword
{
"payload":{
"keyword": "red"
}
}
Direct Payload
{
"payload": "red"
}
Direct Color Name in Payload
{
"payload": "red"
}
Direct Color Temperature Name in Payload
{
"payload": "daylight"
}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/7 approved changesets -- score normalized to 1
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
security policy file not detected
Details
Reason
project is not fuzzed
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-01-20
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