1. How can i finde out what color code i need to use in 8 bit it is hard. I no that that you can just go to like type colorcode in google and that there is a lot of colorcode type's but in that website i was in. Was there the following type's:
HEX, RGB, HSV, HSL and CMYK
is there som of the colorcode's here that not take to long time to transform into 8-bit colorcode
2. before i ask this question or before you read it. so i no that it is a bad question but. is there a way to transform html into a string like exeple:
<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum
just so you know</code1></html>
and then i want the output to be:
hallo world
i am dum
just so you know
i know that the size of the text well be the same it was just an exeple.
So is there someone who no that plese.
because i hope i can do this is because in java you can just create a jlabel in a jframe and then just set the text to a html in the jlabel and the it well work like:
JFrame frame = new JFrame("test frame")
jLabel text = new JLabel("<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum just so you know</code1></html>")
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
ok again more dum question's
1. How can i finde out what color code i need to use in 8 bit it is hard. I no that that you can just go to like type colorcode in google and that there is a lot of colorcode type's but in that website i was in. Was there the following type's:
HEX, RGB, HSV, HSL and CMYK
is there som of the colorcode's here that not take to long time to transform into 8-bit colorcode
2. before i ask this question or before you read it. so i no that it is a bad question but. is there a way to transform html into a string like exeple:
<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum
just so you know</code1></html>
and then i want the output to be:
hallo world
i am dum
just so you know
i know that the size of the text well be the same it was just an exeple.
So is there someone who no that plese.
because i hope i can do this is because in java you can just create a jlabel in a jframe and then just set the text to a html in the jlabel and the it well work like:
JFrame frame = new JFrame("test frame")
jLabel text = new JLabel("<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum just so you know</code1></html>")
frame.add(text)
and so on
Link to post
Share on other sites