• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    [ANSWERED] Getting colour as values

    How To... ?
    3
    4
    447
    Loading More Posts
    • 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.
    • FredF
      Fred
      last edited by Woland

      I wanted to try find a way to get RGBA values from the colour maker RGBA actor, I connected it to a calculator just to see and it does output a number. Is it possible to decode those values into separate R G B A values?

      http://www.fredrodrigues.net/
      https://github.com/fred-dev
      OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
      Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
      Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

      1 Reply Last reply Reply Quote 0
      • WolandW
        Woland Tech Staff
        last edited by

        Yes, it is possible

        TroikaTronix Technical Support
        New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

        | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

        FredF 1 Reply Last reply Reply Quote 0
        • FredF
          Fred @Woland
          last edited by

          @woland cool, can't believe I missed it. But My ideas on the number format that comes directly put of the color maker?

          http://www.fredrodrigues.net/
          https://github.com/fred-dev
          OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
          Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
          Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

          markM 1 Reply Last reply Reply Quote 0
          • markM
            mark @Fred
            last edited by

            @fred said:

            the number format that comes directly put of the color maker?

            It is a 32 bit number composed of ARGB - AARRGGBB where each component is a value from 0 to 255 (0x00 to 0xFF).

            This patch shows how to manually decode it using the Logical Calculator.

            split-color.izz

            Best Wishes,
            Mark

            Media Artist & Creator of Isadora
            Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

            1 Reply Last reply Reply Quote 2
            • First post
              Last post