Hex to RGB
Hex to RGB Endpoint
This endpoint converts a hexadecimal color code into its RGB components, providing detailed information about each color component (red, green, and blue) and its corresponding percentage.
Endpoint
URL:
https://api.erensko.xyz/v1/hex-to-rgb
Method:
GET
Description: Converts a given hexadecimal color code into RGB format. The response includes details about each component (red, green, blue), their values, percentages, and the overall conversion success.
URL Parameters
Key
Value
hex
The he color code to convert into RGB, #FFFFFF
for example.
Headers
Key
Value
Authorization
Request Example
Example Response:
Last updated