Skip to main content

Image Viewer

In addition to being a powerful editor for code and text, Pragtical also leverages SDL's ability to preview a wide range of image file formats.

This isn't just for convinience, it also allows you to choose colors from images to insert into code as hex colors. Useful for frontend development like CSS.

Image Viewer

Color Picker

The color picker is an "eyedropper" style tool. You can activate it with the Pick Hex Color or Pick RGB Color action, depending on which color format you prefer.

The color picker allows you to choose colors from anything in the editor, including graphics in the image viewer or even the editor's theme.

After you click with the color picker, the color code is put into your clipboard to be pasted into your code, either in Pragtical or another application.

Available Commands:

NameDescription
root:pick-hex-colorActivate the Color Picker to copy a color as a hex code to the clipboard
root:pick-rgb-colorActivate the Color Picker to copy a color as an RGB code to the clipboard
root:pick-color-cancelCancel the Color Picker

Keyboard Shortcuts

ActionShortcut
Pick RGB Colorctrl+1
Pick Hex Colorctrl+2
Cancel Color Pickingesc