h6. [[ColourTrans]] h6(. » [[ColourTrans SWI Calls|SWI Calls]] h6((. » ColourTrans_ReturnColourNumber h2. ColourTrans_ReturnColourNumber h5. (SWI &40744) |_<^{width:3em}. Entry | | |<^. R0|<^. Palette entry | |_<^{width:3em}. Exit || |<^. R0 |<^. Colour number| h4. Use This purpose of this call is to return the closest colour number in the current screen mode and palette. h4. Notes The 24-bit palette entries are in the &BBGGRR00 format. h4. See also * [[ColourTrans_ReturnColourNumberForMode]] * [[ColourTrans_ReturnFontColours]] * [[ColourTrans_ReturnGCOL]] * [[ColourTrans_ReturnGCOLForMode]]