/*
Convert sRGB to JzAzBz.
For achromatic sRGB colors, adjust the equivalent JzAzBz color
to be achromatic as well, insteading of having a very slight chroma.
*/
import convertXyz65ToJab from './convertXyz65ToJab.js';
import convertRgbToXyz65 from '../xyz65/convertRgbToXyz65.js';
const convertRgbToJab = rgb => {
let res = convertXyz65ToJab(convertRgbToXyz65(rgb));
if (rgb.r === rgb.b && rgb.b === rgb.g) {
res.a = res.b = 0;
}
return res;
};
export default convertRgbToJab;
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MatheusgVentura/Project-One'
If you have feedback or need assistance with the MCP directory API, please join our Discord server