Skip to content
Wakterm

    Documentation

    wakterm16 sub-pages

    Download6 sub-pages

    Configuration13 sub-pages

    Configuration Reference

    • Config Options182 sub-pages
    • module: wakterm54 sub-pages
    • module: wakterm.color10 sub-pages
    • module: wakterm.gui7 sub-pages
    • module: wakterm.mux12 sub-pages
    • module: wakterm.plugin3 sub-pages
    • module: wakterm.procinfo4 sub-pages
    • module: wakterm.serde8 sub-pages
    • module: wakterm.time4 sub-pages
    • module: wakterm.url2 sub-pages
    • enum: KeyAssignment89 sub-pages
    • enum: CopyModeAssignment33 sub-pages
    • object: Color20 sub-pages
    • object: ExecDomain
    • object: LocalProcessInfo
    • object: MuxDomain8 sub-pages
    • object: MuxWindow11 sub-pages
    • object: MuxTab13 sub-pages
    • object: PaneInformation
    • object: TabInformation
    • object: SshDomain
    • object: SpawnCommand
    • object: Time3 sub-pages
    • object: TlsDomainClient
    • object: TlsDomainServer
    • object: Pane32 sub-pages
    • object: Window29 sub-pages
    • object: WslDomain
    • events: Gui2 sub-pages
    • events: Multiplexer2 sub-pages
    • events: Window12 sub-pages

    CLI Reference12 sub-pages

    Get Help4 sub-pages

    1. Wakterm
    2. Configuration Reference
    3. object: Color

    complement_ryb

    On this page
    1. color:complement_ryb()

    color:complement_ryb()#

    Returns the complement of the color using the RYB color model, which more closely matches how artists think of mixing colors.

    The complement is computed by converting to HSL, converting the hue angle to the equivalent RYB angle, rotating by 180 degrees and and then converting back to RGBA.

    See also: color:complement().

    Edit this page
    Previouscomplement Nextcontrast_ratio