
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
color-catalogs
Advanced tools
A lot of Color Catalogs with translations, color-pickers integration and utils functions
Find good color catalog for your business, let the users pick up colors and find the color closer based on name or RGB/Hash
npm i color-catalogs
Total Colors so far: 8191
Formate seus dados com mascaras de tipos de dados brasileiros
Node:
const { COLORS, findByColor } = require('color-catalogs');
// List for X11 Color Catalogs
console.log(COLORS.X11)
// That will find the color: { name: 'Dark Violet', value: '#9400D3' }
const color = findByColor('X11', '#cc00cc')
Typescript:
import { COLORS, findByColor } from 'color-catalogs';
Browser:
<script src="color-catalogs.js"></script>
<script>
var color = colorsCatalog.findByColor('X11', '#cc00cc') ;
</script>
We have all the possible colors names unified in a json file and we translated the colors names for the main languages.
Here you can find color names in:
Live Example using React , React-Color and Color-Catalogs
import React, {useState} from 'react';
import './App.css';
import { CompactPicker } from 'react-color';
import { COLORS } from 'color-catalogs'
function App() {
const catalogs = Object.keys(COLORS)
const [color, setColor] = useState('#fff')
const [catalog, setCatalog] = useState(catalogs[0])
const handleChangeComplete = (color) => {
setColor(color.hex);
}
const colors = Object.values(COLORS[catalog])
return (
<div className="App">
<h1>
Color Catalogs
</h1>
<label>Catalogs</label>
<select onChange={({target})=>setCatalog(target.value)}>
{catalogs.map(catalog=>(
<option key={catalog} value={catalog}>{catalog}</option>
)
)}
</select>
<CompactPicker
colors={colors}
color={color}
onChangeComplete={handleChangeComplete}
/>
</div>
);
}
export default App;
Methods utils to work with colors:
To contribute to this project, follow the docs: Contribute
FAQs
A lot of Color Catalogs with translations, color-pickers integration and utils functions
The npm package color-catalogs receives a total of 15 weekly downloads. As such, color-catalogs popularity was classified as not popular.
We found that color-catalogs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.