Click here to Skip to main content
11,929,950 members (51,943 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET
I Know a Math Function For Convert RGB Colors to OLE Colors :

((Red) + (Green * 256) + (Blue * 256 * 256))

I Want to Know How to Convert OLE to RGB Without Use ColorTranslator.FromOle
Please This Time Give Me a Correct Answer
I Think When RGB to OLE Have Math Operation Certainly OLE to RGB Have a Math
Operation too

For Beginner Programers Use RGB to OLE Math Function Have No Problem

Posted 8-Oct-12 5:50am
Richard MacCutchan 8-Oct-12 10:57am
It's just the reverse of what you have shown in your question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100