RGB ke additive 'me e entsoe ke leseli, CMYK ke subtractive 'me e entsoe ke ink. Ho fetola pakeng tsa tsona ke mohato oo moralo oa skrini o o nkang pele o ka hatsetsoa.
Mokhoa oa ho fetoha ho tloha RGB ho ea ho CMYK
- Bala R, G le B e le boleng ba sRGB ho tloha ho 0 ho ea ho 255.
- Batla 'mala profaeleng ea Coated FOGRA39, profaele ea ICC e tloaelehileng bakeng sa pampiri e koahetsoeng Europe.
- Sebelisa maikemisetso a 'mala a amanang le tekanyetso ea ntlha e ntšo, e le hore e tšoeu e lule e le pampiri e tšoeu 'me e ntšo e fetoloe ho inki e lefifi ka ho fetisisa eo mochine oa ho hatisa o ka e hatisang.
- Fetolela boleng bo bane kaofela ho liphesente pakeng tsa 0 le 100.
Mohlala o sebetsang
Sena se sebelisa profaele e tloaelehileng ea Coated FOGRA39. Likhoebo tsa ho hatisa li sebelisa liprofaele tsa tsona tsa ICC le meeli ea inki, ka hona liprofaele tse ling tsa CMYK (mohlala ho tsoa khoebong ea hau ea ho hatisa) li fana ka linomoro tse fapaneng. Nka sephetho e le sekhelo se tiileng, eseng e le kopano ea mebala e lokiselitsoeng ho hatisa.
RGB le CMYK li hlalositsoe
Ke eng RGB?
RGB e hlalosa 'mala e le litsela tse tharo tsa leseli — red, green le blue — e ' ngoe le e ' ngoe ho tloha 0 ho isa 255. E bontša kamoo skrine e sebetsang ka teng: tse tharo kaofela ho 255 li fana ka tšoeu, kaofela ho 0 li fana ka ntsho. RGB ke khetho e nepahetseng ha o hloka ho bala le 'mala, 'me rgba() e eketsa ho pepeseha ka holim'a eona.
- Sinthaxe:
- rgb(R, G, B)
- Mekhahlelo:
- 0–255 ka tsela
- E loketse bakeng sa:
- khoutu, canvas, pepeseho ka rgba()
Ke eng CMYK?
CMYK ke mohlala oa ink o nang le mebala e mene o sebelisoang khatisong: cyan, magenta, yellow le key (black), e ' ngoe le e ' ngoe e le porsente ho tloha 0 ho isa 100. Ink e tlosa leseli ho e-na le ho e hlahisa, kahoo CMYK e akaretsa mebala e fokolang ho feta skrine — ke ka lebaka leo mebala e khanyang ea skrine hangata e shebahalang e sa khanye ha e hatsetse.
- Sinthaxe:
- cmyk(C%, M%, Y%, K%)
- Mekhahlelo:
- 0–100% ka ink
- E loketse bakeng sa:
- khatiso, liphutheloana, mesebetsi e loketseng ho hatsetsa
RGB to CMYK reference table
Mebala e tlamehang ka CSS, e fetotsoe ho tswa ho RGB ho ea ho CMYK.
| 'Mala | RGB | CMYK |
|---|---|---|
| black | rgb(0, 0, 0) | cmyk(89%, 78%, 62%, 97%) |
| white | rgb(255, 255, 255) | cmyk(0%, 0%, 0%, 0%) |
| red | rgb(255, 0, 0) | cmyk(0%, 95%, 92%, 0%) |
| lime | rgb(0, 255, 0) | cmyk(64%, 0%, 100%, 0%) |
| blue | rgb(0, 0, 255) | cmyk(93%, 75%, 0%, 0%) |
| yellow | rgb(255, 255, 0) | cmyk(9%, 0%, 96%, 0%) |
| orange | rgb(255, 165, 0) | cmyk(0%, 43%, 94%, 0%) |
| teal | rgb(0, 128, 128) | cmyk(83%, 27%, 48%, 12%) |
| purple | rgb(128, 0, 128) | cmyk(63%, 100%, 4%, 1%) |
| gray | rgb(128, 128, 128) | cmyk(48%, 39%, 39%, 21%) |