Package Exports
- @chrisaugu/png-national-color
- @chrisaugu/png-national-color/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chrisaugu/png-national-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
PNG National Color ๐ต๐ฌ
A simple npm package that provides the national colors of Papua New Guinea (PNG) as RGB, HEX, and HSL values. Useful for theming, design, or any application that requires PNG's official colors.
๐ฅ Install
Install the package via npm:
npm install @chrisaugu/png-national-colorOr with Yarn:
yarn add @chrisaugu/png-national-color๐ ๏ธ How to Use
Import the package and access PNG's national colors in different formats:
const pngColors = require('@chrisaugu/png-national-color');
console.log(pngColors.color.black);
console.log(pngColors.color.white);
console.log(pngColors.color.red);
console.log(pngColors.color.yellow);
console.log(pngColors.emoji_color);
console.log(pngColors.emoji);Available Colors
- Black (Traditional)
- Red (Symbolizes unity)
- Gold/Yellow (Represents the sun and wealth)
๐ License
This project is licensed under the MIT License. See LICENSE for details.
๐ค Contribution
Contributions are welcome! If you'd like to improve this package:
- Fork the repository
- Create a feature branch (
git checkout -b feature/improvement) - Commit your changes (
git commit -m 'Add new color format') - Push to the branch (
git push origin feature/improvement) - Open a Pull Request
๐ค Author
- Christian Augustyn
- GitHub: @chrisaugu
- NPM: @chrisaugu
๐งช Test
To run tests (if available), use:
npm testOr check the /test directory for examples.