{"inputSchema":{"type":"object","properties":{"png":{"type":"string","maxLength":64000,"minLength":1},"color":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"}},"required":["png","color"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"index":{"type":["integer","null"]},"rgb":{"type":["string","null"]},"squared_distance":{"type":["integer","null"]}},"required":["index","rgb","squared_distance"]},"limitations":{"type":"string"}}},"requestExample":{"png":"iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAMAAACeL25MAAAAElBMVEUAAAASZZTpoBQbjEsbjEuWoKqG5LLQAAAABnRSTlMA//+AgP+Nc6qqAAAAGElEQVR4nGNgYGRkYGBkYmIEEswgJiMDAAC7ABLWpWFfAAAAAElFTkSuQmCC","color":"#116699"},"usageGuide":["Non-interlaced indexed PNG, at most 262144 pixels. Calculations use encoded component bytes without colour-profile transformations."],"outputExample":{"measured_at":"2026-11-19T21:02:26.656Z","source":{"reference":"Supplied indexed PNG, decoded locally","retrieved_at":"2026-11-19T21:02:26.656Z"},"data":{"index":1,"rgb":"126594","squared_distance":27},"limitations":"Non-interlaced indexed PNG, at most 262144 pixels. Calculations use encoded component bytes without colour-profile transformations."},"tags":["png palette","image metadata","indexed color","image processing"],"price_usdc":"0.005"}