npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

amexio-colors

v1.0.4

Published

Amexio Colors auto generates Material Design styled themes for Amexio API.

Downloads

3

Readme

Getting Started

To install the Amexio Colors:

$ sudo npm install -g amexio-colors

Check the Amexio Colors version:

$ ac
Amexio Colors v1.0
Copyright (c) 2018, MetaMagic Global Inc, NJ, USA
.....

To Generate Amexio Material Design Themes

$ pwd
/home/user/

$ mkdir mythemes
$ cd mythemes
$ echo "// Amexio Themes v0.0 " >> Themes-Data.txt
$ echo "// Design-Type : Material Design " >> Themes-Data.txt
$ echo "// Theme-Version : 4.0 " >> Themes-Data.txt
$ echo "army-olive,#4B5320,#708238" >> Themes-Data.txt
$ echo "ash-stone-black,#544C4A,#877F7D" >> Themes-Data.txt

$ ac Themes-Data.txt /home/user/mythemes/

Amexio Colors API Documentation

Checkout the Amexio Colors API Documentation published in GitHub Pages.

For Testing the Themes Autogenerated by the Amexio Colors Checkout the Amexio API Site

Understanding various Color formats

RGB = Red Green Blue HSL = Hue Saturation Lightness HWB = Hue Whiteness Blackness CMYK = Cyan Magenta Yellow Black

A Color profile establishes the boundaries of the RGB or CMYK gamut, without a color profile, the numbers expressed as RGB or CMYK has no meaning. While RGB is mainly used for electronic displays CMYK is used for print medium.

When all the colors of RGB combines you will get white similar to the convergence of the Rainbow colors resulting in white light.

At the same time when all the colors of CMYK combines you will get Black as it represents the absorption of light resulting in Darkness.

RGB and CMYK are "device dependent", meaning that you can get different colors with the same set of numbers.

How we arrived at building this API

Color is the Magical Object in Amexio Color API

Color is an immutable object with RGB with Alpha, HSL, RGB Normalized Values (to be used in Machine Learning), Hex Values and Color Channel identification.

It also has the following Conversion Alogrithms.

  • RGB to HSL

  • RGB to HWB

  • RGB to CMYK

  • RGB to NCol (Natural Colors - To be implemented)

  • HSL to RGB

Functions available in Color API

  • Pure Color of the Current Color (Saturation = 100, Lightness = 51)
  • Gray Tone of the Current Color (Saturation = 25, Lightness = 81)
  • Finding Foreground Color for the Current Color
  • Finding Background Color for the Current Color
  • Darken the Current Color
  • Lighten the Current Color

Amexio Theme Builder API

Theme Builder uses the the above mentioned functions to understand the color patterns and automatically derive the color patterns and color combinations for the Primary Color given as an input to the Theme Builder.

Amexio Color Factory API

Color Factory API will focus on creating Color combinations based on the following Color Patterns

Color Duo

Colors that are directly opposite one another on the color wheel are known as complementary colors. Complementary colors have a high contrast and can be very effective as accent colors when paired with a more neutral palette.

Triadic Colors

Triadic harmonies consist of three colors equidistant from one another on the color wheel. Like complementary colors, triadic schemes tend to be very bright with a high contrast and work best when one color dominates.

Tetradic Colors

Tetradic color harmonies are formed by two sets of complementary colors 60 degrees apart on the color wheel. Tetradic schemes are an excellent starting point for creating color palettes; fine tune them using color shades, tints and tones.

Analogus Colors

Analogous harmonies are created by selecting the colors directly adjacent to a chosen color. Frequently found in web design, analogous schemes, when paired with a complementary color for contrast, can offer great versatility.

Neutral Colors

Neutral schemes, like analogous harmonies, are formed by taking the colors on either side of a chosen color but at half the distance. While analogous schemes typically use colors 30 degrees apart, neutral harmonies use colors 15 degrees apart.

License

Copyright © MetaMagic Global Inc, 2017-18. Amexio Colors API. All rights reserved.

Licensed under the Apache 2.0 License.

Enjoy!