h6. [[ColourTrans]] h6(. » [[ColourTrans SWI Calls|SWI Calls]] h6((. » ColourTrans_SetOppGCOL h2. ColourTrans_SetOppGCOL h5. (SWI &40748) |_<^{width:3em}. Entry | | |<^. R0|<^. Palette entry | |<^. R3|<^. 0 for foreground, or 128 for background | |<^. R4|<^. [[GCOL action]] | |_<^{width:3em}. Exit || |<^. R0 |<^. GCOL| |<^. R2 |<^. Log<sub>2</sub> of bits-per-pixel for current mode| |<^. R3 |<^. Initial value AND &80| |<^. R4 |<^. Preserved| h4. Use This purpose of this call is to calculate the furthest GCOL to the palette entry passed in R0 in the current mode and palette and set it. h4. Notes The top three bits of R3 and R4 should be zero to allow for future expansion. GCOL is only of use in 256 colour screen modes. h4. See also * [[ColourTrans_SetColour]] * [[ColourTrans_SetFontColours]] * [[ColourTrans_SetGCOL]] * [[ColourTrans_SetOppTextColour]] * [[ColourTrans_SetTextColour]] [link3]ColourTrans%20SetGCOL%20Flags