rgb(255, 87, 51) ↓ #FF5733 R: 255 → FF G: 87 → 57 B: 51 → 33
Convert each value to base-16: 255 = FF, 87 = 57, 51 = 33. Combine with # prefix.