#picker #color-space #widgets #applications #ok #focused #background-color

bin+lib ok-picker

A color picker application focused on colorscheming in Ok colorspace (from Björn Ottosson)

3 releases

0.0.3 Oct 6, 2022
0.0.2 Oct 1, 2022
0.0.1 Sep 26, 2022

#937 in Images


Used in okthief

GPL-3.0-only

2MB
1.5K SLoC

OkHSV colour picker widget OkHSL colour picker widget

Ok Picker

A toy application to test egui programming.

This application will be a color picker based on the Okhsv colorspace by Björn Ottosson, with:

  • A 2D picker in the SV space,
  • A 1D picker in the Hue space,
  • Buttons to increment/decrement any single value of the HSV triple,

And as stretch goals:

  • Buttons to add/remove colors to a palette,
  • Contrast between each color of the palette and a chosen background color,
  • A palette generator that auto-picks colours starting from 1 or 2 colors and a set of rules:
    • Just the foreground color
    • A foreground and a background color
    • A foreground and an accent color

Dependencies

~9–22MB
~316K SLoC