RGB is light, CMYK is paint
Theory
Machine translation, not yet reviewed by a native speaker.
RGB is how a screen makes colour: each pixel is three little lamps, red (R), green (G) and blue (B), and the brightness of each is from 0 to 255 (one byte). Light adds up: R+G = yellow, G+B = cyan, R+B = magenta, all three = white, none = black. This is the additive model.
HEX notation is the same three bytes as hexadecimal numbers: #ff004d = R 255, G 0, B 77.
In the editor, both RGB and HEX are shown under the sliders — move the sliders and watch the numbers change.
CMYK is how a printer makes colour: paint on white paper absorbs light. Cyan paint (C) eats red,
magenta (M) eats green, yellow (Y) eats blue; K is black, because a mix of the three paints gives a muddy brown.
This is the subtractive model. In pixel art we draw in RGB, and CMYK is needed when sprites go to print:
a poster, a cover, merch. A printer can't reproduce bright RGB colours (a pure #00ff00) — they'll come out duller.