Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Generating random color for Background and foreground

Generating random color for Background and foreground

Scheduled Pinned Locked Moved The Lounge
lounge
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FlorianS
    wrote on last edited by
    #1

    If you have to generate random colors for background and foreground there is any way to check them to be sure that the result will be readable. I would like to eliminate those combinations that are close so the result will be hard to read.. Thanks Florian Szoke

    J J S 3 Replies Last reply
    0
    • F FlorianS

      If you have to generate random colors for background and foreground there is any way to check them to be sure that the result will be readable. I would like to eliminate those combinations that are close so the result will be hard to read.. Thanks Florian Szoke

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #2

      Florian Szoke wrote:

      there is any way to check them to be sure that the result will be readable.

      Yes. :) Jeremy Falcon

      R 1 Reply Last reply
      0
      • F FlorianS

        If you have to generate random colors for background and foreground there is any way to check them to be sure that the result will be readable. I would like to eliminate those combinations that are close so the result will be hard to read.. Thanks Florian Szoke

        J Offline
        J Offline
        JimmyRopes
        wrote on last edited by
        #3

        Take a look at this site for basic color theory. http://www.colormatters.com/colortheory.html Google for color wheel and you will get some more sites that give breakdowns of “web safe” and “web smart” colors. There is a pattern to follow which will become apparent when you look at the RGB breakdown. Complementary colors usually are good for text and background combinations. I'm on-line therefore I am. JimmyRopes

        1 Reply Last reply
        0
        • J Jeremy Falcon

          Florian Szoke wrote:

          there is any way to check them to be sure that the result will be readable.

          Yes. :) Jeremy Falcon

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #4

          He meant another solution than hiring someone to sit next to you and changing the back/foreground colors of they happen to not be readable. :rolleyes: Anyway, an application where colors are randomly chosen seems weird. ~RaGE();

          1 Reply Last reply
          0
          • F FlorianS

            If you have to generate random colors for background and foreground there is any way to check them to be sure that the result will be readable. I would like to eliminate those combinations that are close so the result will be hard to read.. Thanks Florian Szoke

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #5

            No.

            ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.1 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups