const convertYiqToRgb = ({ y, i, q, alpha }) => {
const res = {
mode: 'rgb',
r: y + 0.95608445 * i + 0.6208885 * q,
g: y - 0.27137664 * i - 0.6486059 * q,
b: y - 1.10561724 * i + 1.70250126 * q
};
if (alpha !== undefined) res.alpha = alpha;
return res;
};
export default convertYiqToRgb;
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