RGB Converter is a web-based color tool built to practice using JavaScript and working with external APIs. This app allows users to input RGB color values and instantly retrieve a rich set of color data via the The Color API.
- Input RGB values to generate and view the corresponding color
- Fetches detailed color data using The Color API
- Displays:
- Color Name
- HEX Value
- HSL, HSV, CMYK, and XYZ representations
- Dynamically updates a color preview square on the page
- Enter red, green, and blue values (from 0 to 255).
- Click Convert.
- The background color updates to the correct shade, and API results are shown including:
- The color name
- Various color format values (HEX, HSL, HSV, etc.)
- Includes form inputs for RGB values
- Displays the color output and values dynamically
- Contains embedded JavaScript that handles logic and fetches API data
- Styles form elements, color output, and page layout