
Where 16 spaces × 2,048 hues x 2 stroke&fill = one integer
- Mantra: Indexed purity. No RGB noise.
- Tagline: Color, solved.
Advanced Color Management & Design
woc_Colours is the sophisticated low-level color manager for the ogTools suite. It operates in both RGB and specialized indexed color spaces, providing unparalleled consistency and design flexibility.
Localised in EN, FR. Dependencies: wok_Krolific – Licensing, Simplified, wox_Xlibrary – The Silent Engine
Supported Color Spaces Include:
md: Material Design (bright and efficient)mdo: Material Design OG (double the luminosity ofmd)rale: RALe (smooth and soft)pans: Pantone Short (curated and efficient)pant: Pantone (comprehensive)mn: A custom space4d: Native 4D theme colorssvg: Standard SVG colorsweb: Standard web colors
Intelligent Color Editor:
The system features a powerful color editor that intelligently handles complex color values. A single long integer can store both Stroke and Fill properties, each potentially from a different color space. The editor UI dynamically resizes when switching between spaces to maintain perfectly squared color samples and seamlessly manages conversions between spaces.
Comprehensive Tools:
- Ready-to-Use Widgets: Includes color pickers, menus, and other UI elements for seamless integration.
- Color Processing: Provides common utilities for color manipulation and treatment.
- Extended Libraries: Features libraries for
rgb,colour,color, andsvgoperations. - Pattern Library: Includes a collection of "delicious" patterns from Hero Patterns, complete with an embedded editor for customization.
colors
- Indexed colors advantage
- Stroke Fill in one longint
- Limited choice makes a taste in UI
- With spaces, limitation is low
- Methods library
- Common
- RGB
- New "woc_sp_" methods for Color and Colors
- Miscellaneous
- Longint
- Color: Space, Index
- Colors: Stroke: Space, Index ; Fill: Space, Index
- Spaces, 16 possible (4 bits)
- Existing: md, mdo, 4d, svg, rale, pans, pant, and 10 more « User »
- Index, 4096 values max (12 bits)
- LazyLoad
- Spaces: Auto, or Preload
- Spaces conversion table: Auto, or Preload
- Display & copy
- Colors in format [0x0…], color and colors
Color
- Color: [0x0…] ; [sp:index] name ; values as Num, rgb(r,g,b), 0xrrggbb
Colour
- all for rgb colour system associated with names from an eventual color's space.
Test form
Colour rgb, colourPicker, colors picker, widget, shapes...

Patterns
A pattern's widgets and Favorites editor is available.

Methods
- woc_math_circleArcInternal, woc_math_circleArcTangent, woc_math_point_linkRadial, woc_math_point_linkRadial_one, woc_math_point_radial, woc_math_smoothTrigo
- woc_menu_chooser, woc_menu_color_action_do, woc_menu_colour_create, woc_menu_mosaic, woc_menu_row_color_create, woc_menu_space, woc_menu_spaces
- woc_pattern_idle, woc_pattern_picture, woc_patterns_form
- woc_picture_colorize, woc_picture_concatene, woc_picture_empty_pattern, woc_picture_icon, woc_picture_icon_img, woc_picture_isCodec, woc_picture_maxScale, woc_picture_rotate, woc_picture_sticker_txt
- woc_popColors, woc_popColour, woc_popFavorites, woc_popPalette, woc_popPatterns
- woc_rgb_colour_to_r_g_b, woc_rgb_desaturate, woc_rgb_from_hsl, woc_rgb_from_hsl1, woc_rgb_from_html, woc_rgb_from_hue, woc_rgb_from_r_g_b, woc_rgb_from_r_g_b_to_text, woc_rgb_from_svg, woc_rgb_getMatching, woc_rgb_hsl_to_r_g_b, woc_rgb_isWhiteFor, woc_rgb_to_hsl, woc_rgb_to_hsl1, woc_rgb_to_html, woc_rgb_to_html_safe, woc_rgb_to_r_g_b, woc_rgb_to_text, woc_rgb_to_wb
- woc_SET_MENU_ITEM_icnm, woc_SET_MENU_ITEM_icnr, woc_SET_MENU_ITEM_icns, woc_SET_MENU_ITEM_icnx
- woc_shape_coef, woc_shape_offset_y
- woc_sp_color_add, woc_sp_color_copy_menu, woc_sp_color_exact_rgb, woc_sp_color_from_html, woc_sp_color_from_index, woc_sp_color_from_palette, woc_sp_color_from_r_g_b, woc_sp_color_from_rgb, woc_sp_color_from_row, woc_sp_color_from_rowCol, woc_sp_color_from_text, woc_sp_color_get_icn, woc_sp_color_get_icnm, woc_sp_color_get_icns, woc_sp_color_get_icnx, woc_sp_color_hmenu, woc_sp_color_hmenu_create, woc_sp_color_isBlack, woc_sp_color_isGrey, woc_sp_color_isTransparent, woc_sp_color_isWhite, woc_sp_color_isWhiteFor, woc_sp_color_k_black, woc_sp_color_k_grey, woc_sp_color_k_transparent, woc_sp_color_k_white, woc_sp_color_menu, woc_sp_color_menu_create, woc_sp_color_paste_menu, woc_sp_color_random, woc_sp_color_read_iconPath, woc_sp_color_read_subFile, woc_sp_color_s_for_f, woc_sp_color_to_color, woc_sp_color_to_create, woc_sp_color_to_html, woc_sp_color_to_index, woc_sp_color_to_infos, woc_sp_color_to_palette, woc_sp_color_to_rgb, woc_sp_color_to_rowCol, woc_sp_color_to_space, woc_sp_color_to_svg, woc_sp_color_to_text, woc_sp_colors_bw, woc_sp_colors_copy, woc_sp_colors_copy_menu, woc_sp_colors_edit, woc_sp_colors_form, woc_sp_colors_from_f, woc_sp_colors_from_index, woc_sp_colors_from_row, woc_sp_colors_from_sf, woc_sp_colors_from_text, woc_sp_colors_hmenu, woc_sp_colors_inverse, woc_sp_colors_menu, woc_sp_colors_paste_menu, woc_sp_colors_paste_menus, woc_sp_colors_random, woc_sp_colors_set_fill, woc_sp_colors_set_stroke, woc_sp_colors_textToColl, woc_sp_colors_to_colors, woc_sp_colors_to_f, woc_sp_colors_to_html, woc_sp_colors_to_html_f, woc_sp_colors_to_html_s, woc_sp_colors_to_infos, woc_sp_colors_to_rgb, woc_sp_colors_to_rgb_f, woc_sp_colors_to_rgb_s, woc_sp_colors_to_s, woc_sp_colors_to_s_or_f, woc_sp_colors_to_sf, woc_sp_colors_to_spaces, woc_sp_colors_to_svg, woc_sp_colors_to_svg_f, woc_sp_colors_to_svg_s, woc_sp_colors_value_from_txt, woc_sp_colorsPicker, woc_sp_colorsPicker_ptr, woc_sp_colorsPicker_vJ, woc_sp_colour_copy_menu, woc_sp_colour_paste_menu, woc_sp_colourKeywordMap, woc_sp_colourPicker, woc_sp_colourPicker_ptr, woc_sp_colourPicker_vJ, woc_sp_coloursToColour, woc_sp_colourToColorRGB, woc_sp_colourToColourRGB, woc_sp_colourToColours, woc_sp_columns_from_row, woc_sp_index_from_r_g_b, woc_sp_index_from_rgb, woc_sp_index_from_rowCol, woc_sp_rgb_from_index, woc_sp_rgb_from_text, woc_sp_shape_empty_img, woc_sp_shape_get, woc_sp_shape_get_lb, woc_sp_shape_get_object, woc_sp_shape_icn, woc_sp_shape_icn_text, woc_sp_shape_img, woc_sp_shape_toggle, woc_sp_space_get, woc_sp_space_load, woc_sp_space_to_space_create, woc_sp_svg_from_index, woc_sp_to_rowCol
- woc_svg_bookmark, woc_svg_centered_picture, woc_svg_circleArcInternal, woc_svg_circleArcTangent, woc_svg_circleLine, woc_svg_color_icn, woc_svg_combine_pictures, woc_svg_curveHorizontal, woc_svg_curveVertical, woc_svg_domPicture_clean, woc_svg_domPicture_colors, woc_svg_domPicture_combine, woc_svg_drop, woc_svg_elasticHorizontal, woc_svg_elasticsHorizontal, woc_svg_linkHorizontal, woc_svg_linkRadial, woc_svg_linkRadial_single, woc_svg_linkRadial1, woc_svg_linkVertical, woc_svg_metarerect, woc_svg_new_embedded_svg, woc_svg_object, woc_svg_objectTxt, woc_svg_pattern_empty, woc_svg_pattern_picture, woc_svg_patterns, woc_svg_patterns_get, woc_svg_polygon, woc_svg_rectangle
Widgets
- woc_colors, woc_colors_form, woc_colorsWidget
- woc_colour, woc_colour_form, woc_colourWidget
- woc_favorites, woc_metarect, woc_picture, woc_shape
- woc_pattern, woc_pattern_form
- woc_dcox, woc_dcoxWidget
