Build a Color Palette App with egui Color Picker | Rust GUI Ep 12

9views
00
9:01
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Build a Color Palette app with color picker, saved swatches, and hex codes in egui! In this episode, we create a side panel with color_edit_button_rgb, proper linear-to-sRGB color conversion with Rgba and Color32, and allocate_exact_size for custom drawing — all coded in Neovim. Student code: https://github.com/GoCelesteAI/egui_color_picker What You'll Learn: - color_edit_button_rgb() for interactive color selection - Rgba::from_rgb() and Color32 for correct linear-to-sRGB conversion - allocate_exact_size() for custom-sized widgets - painter().rect_filled() for drawing color swatches - Hex color formatting with {:02X} - Neo-tree P key to preview files in Neovim Video: ~/Desktop/episode12_extended.mp4 (540.7s / ~9 min) Tags: egui, rust, gui, tutorial, neovim, color picker, color palette, Color32, Rgba, color_edit_button_rgb, allocate_exact_size, painter, desktop app, rust programming, learn rust, beginner

Tags

eguirustguitutorialneovimcolor pickercolor paletteColor32Rgbacolor_edit_button_rgballocate_exact_sizepainterdesktop apprust programminglearn rust
Back to tutorials

Duration

9:01

Published

March 11, 2026

Added to Codegiz

March 15, 2026

Open in YouTube