
Security News
GitHub Actions Supply Chain Attack Puts Thousands of Projects at Risk
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
@ridi/colors
Advanced tools
$ npm install @ridi/colors
import colors from '@ridi/colors';
import hex from '@ridi/colors/hex.json';
import rgb from '@ridi/colors/rgb.json';
import hsl from '@ridi/colors/hsl.json';
import hwb from '@ridi/colors/hwb.json';
colors.dogerBlue5; // #EBF6FF
hex.dogerBlue5; // #EBF6FF
rgb.dogerBlue5; // rgb(235, 246, 255)
hsl.dogerBlue5; // hsl(207, 100%, 96%)
hwb.dogerBlue5; // hwb(207, 92%, 0%)
import colors from '@ridi/colors';
import hex from '@ridi/colors/hex.json';
import rgb from '@ridi/colors/rgb.json';
import hsl from '@ridi/colors/hsl.json';
import hwb from '@ridi/colors/hwb.json';
import Color from 'color';
<div>
{Object.keys(colors).map((name) => {
const color = Color(colors[name]);
return (
<div
key={name}
style={{
display: 'flex',
alignItems: 'center',
padding: '8px',
color: color.isLight() ? 'black' : 'white',
backgroundColor: color,
}}
>
<div
style={{
flex: 1,
userSelect: 'all',
fontSize: '14px',
fontWeight: 'bold',
}}
>
{name}
</div>
<div style={{ fontSize: '10px', textAlign: 'right' }}>
<div style={{ userSelect: 'all' }}>{hex[name]}</div>
<div style={{ userSelect: 'all' }}>{rgb[name]}</div>
<div style={{ userSelect: 'all' }}>{hsl[name]}</div>
<div style={{ userSelect: 'all' }}>{hwb[name]}</div>
</div>
</div>
);
})}
</div>;
FAQs
RIDI Colors
The npm package @ridi/colors receives a total of 783 weekly downloads. As such, @ridi/colors popularity was classified as not popular.
We found that @ridi/colors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
Research
Security News
A malicious Maven package typosquatting a popular library is secretly stealing OAuth credentials on the 15th of each month, putting Java developers at risk.
Security News
Socket and Seal Security collaborate to fix a critical npm overrides bug, resolving a three-year security issue in the JavaScript ecosystem's most popular package manager.