Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Ta©ti Tac0Z

dum question's #2

Question

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

8 answers to this question

Recommended Posts

  • 0
On 28.3.2017 at 3:08 PM, noahthegame said:

That i mean in number 2 is how to translate html (webbrowser code) into a file or string on OC. computer

Every html file you download will always be in this format

 <!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum just so you know</code1></html> 

just use wget http://www.test.de /targetFileNameHere

 

btw for question 1 http://neildowning.com/HEX_to_RGB_color_converter.php

Link to post
Share on other sites
  • 0

I know how to get the file on the web but how do i "translate it" like so

Input:

<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum just so you know</code1></html> 

output:

hallo World

i am dum just so you know

 

say on a 2'st way:

have someone made a lua code that Can run a html code

 

Link to post
Share on other sites
  • 0
On 10.4.2017 at 0:21 PM, noahthegame said:

I know how to get the file on the web but how do i "translate it" like so

Input:


<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum just so you know</code1></html> 

output:

hallo World

i am dum just so you know

 

say on a 2'st way:

have someone made a lua code that Can run a html code

 

ah You are looking for an ingame browser. I don't think anyone has made something like that.

Link to post
Share on other sites

Join the conversation

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.