UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

9 lines 124 B
export const xyzToLab = ({ x, y, z }) => ({ l: Math.max(116 * y - 16, 0), a: 500 * (x - y), b: 200 * (y - z) });