Skip to content

theapache64/name-that-color

Repository files navigation

name-that-color

buildStatus latestVersion Twitter: theapache64

A library to name hex color codes

🦿 Prerequisites

Add jitpack to your repositories

maven { url "https://jitpack.io" }

🛠 Installation

implementation 'com.github.theapache64:name-that-color:<latest-version>'

⌨️ Usage

ColorNameFinder.findColor(HexColor("#000000")) // Black
ColorNameFinder.findColor(HexColor("#4169e1")) // Royal Blue
ColorNameFinder.findColor(HexColor("#2c4f03")) // Verdun Green
ColorNameFinder.findColor(HexColor("#f00")) // Red

To see more usage, see tests

🥼 Run tests

./gradlew test

🤗 Credits

All credit goes to chir.ag and galex

✍️ Author

👤 theapache64

Feel free to ping me 😉

🤝 Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Open an issue first to discuss what you would like to change.
  2. Fork the Project
  3. Create your feature branch (git checkout -b feature/amazing-feature)
  4. Commit your changes (git commit -m 'Add some amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a pull request

Please make sure to update tests as appropriate.

❤ Show your support

Give a ⭐️ if this project helped you!

Patron Link Buy Me A Coffee Donation

📝 License

Copyright © 2021 - theapache64

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

This README was generated by readgen