Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
#cssrgb Generates a list of RGB colors on a CSS file and provides CSV output
npm -g cssrgb
Call cssrgb
with as many css URLs as you want. Minimum is 1 URL
cssrgb http://your-domain.com/css/yourcss.css [http://your-domain.com/css/another.css http://your-domain.com/css/yet_another.css]`
cssrgb
is a small package that:
#hex
colors to RGB
CSV
file with the following format:"r","g","b"
"242","246","250"
"255","187","57"
"255","202","86"
...
This output is used to generate color charts by RGB proximity, like this:
This is the first step of this project, next iteration will be to generate html output with this proximity algorithm, instead of only csv
It's common in big CSS files to have slight variations of colors, what can pollute the styles. Usually result of using color picker to get a color value instead of reusing what was already available.
The idea of this project is to first map out used colors by visual proximity, and in a second step replace them by a standart one, making the CSS consistent.
Feel free to fork and do pull requests, or open an issue here.
FAQs
Generates a list of RGB colors on a CSS file and provides CSV output
We found that cssrgb 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.