منسق JSON
نسّق JSON لتسهيل قراءته.
حوّل الألوان بين HEX وRGB وHSL.
الطرق التفصيلية والأمثلة متاحة باللغة الإنجليزية.
Parse HEX, RGB(A), or HSL(A) channels and convert between the RGB and HSL models. Complementary color rotates hue 180 degrees. Lighten and darken shift HSL lightness by 10 points. Contrast uses relative luminance after alpha compositing.
White against black has a contrast ratio of 21:1. Normal-size text needs at least 4.5:1 to meet WCAG AA contrast; other accessibility requirements still apply.
Move a design color between CSS representations or compare a foreground color against its intended background. The preview is useful for checking whether a converted value still represents the expected color.
A translucent foreground blends with its background. The tool computes contrast from the composited color, so the same foreground can behave differently on different surfaces.
They are different notations for RGB channel values. Equivalent values describe the same color; rounding during conversion can make the displayed numbers look slightly different.