SynthMaker

Int to color HTML

Archive · 2005 10 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Nu Audio Science ·

If i do a color pick in PSP or PS they both have different RGB values, And they never look the same in SM, But the html values seem to be the same in both packages mentioned Anychance of a html module aswell as the RGB ?

malc ·

Hi NAS,

Not sure I fully understand your question, can you explain a bit more - sorry 🙂.

Anychance of a html module aswell as the RGB ?

Shouldn't be a problem.

Nu Audio Science ·

Just a color to int that uses the html code colors 🙂

unkargherth ·

I'm not much in HTML "programmin" so, could you describe this color format a bit , plz?

Shifrin ·

I believe NAS is refering to colours of the format :-

#RRGGBB

Where the RR, GG and BB are hexidecimal values in the range 0 - 255, i.e. 00 - FF

Shif.

unkargherth ·

And where goes the alpha blending?

Shifrin ·

There is none in the HTML #RRGGBB format!

Shif.

unkargherth ·

You want it, you got it. A conversion module from std color to html color string. get it here

Known Bugs: Sometimes i don't know why, it fails. Disconnecting the color input and conecting again ussually works i suspect that ahs something to do to string updating or something similar, but not sure ( malc, could you check this?)

Don't ask for the inverse ( HTML color to color) because as far as i know it can be done until we get some string management primitives

Tom7777 ·

Thanks unkargherth 🙂

Nu Audio Science ·

Ooh so busy with knobs i forgot to say thanks Unk 🙂 Cheers for doing this

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.